|
Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
#include <mediatorcollegue.h>
Public Types | |
| typedef unsigned long | InformMediatorType |
Public Member Functions | |
| MediatorCollegue (Mediator *myMediator=0) | |
| virtual | ~MediatorCollegue () |
| void | informMediator (MediatorEvent *event) |
| Calls the mediator that this collegue has performed something. More... | |
| virtual void | doOnMediatorCallBack (MediatorEvent *event)=0 |
| Is called when the mediator informs this collegue that an event has to be performed by this collegue instance. More... | |
Static Public Attributes | |
| static const InformMediatorType | DEFAULT_INFORM_MEDIATOR_TYPE = 0 |
Protected Member Functions | |
| void | setMediator (Mediator *myMediator) |
| Sets the own mediator. More... | |
| typedef unsigned long InformMediatorType |
| MediatorCollegue | ( | Mediator * | myMediator = 0 | ) |
|
virtual |
|
pure virtual |
Is called when the mediator informs this collegue that an event has to be performed by this collegue instance.
| void informMediator | ( | MediatorEvent * | event | ) |
Calls the mediator that this collegue has performed something.
The event and the instance of this class is handed over.
|
protected |
Sets the own mediator.
Useful if mediator is unknown in initialization.
| myMediator |
|
static |