Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
#include <mediator.h>
Public Types | |
typedef std::vector < MediatorCollegue * > | MediatorCollegueListType |
Public Member Functions | |
Mediator () | |
virtual | ~Mediator () |
virtual void | mediatorInformed (MediatorCollegue *source, MediatorEvent *event)=0 |
void | addMediatorCollegue (MediatorCollegue *collegue) |
void | removeMediatorCollegue (MediatorCollegue *collegue) |
void | removeAllMediatorCollegues () |
MediatorCollegue * | getMediatorCollegue (unsigned int index) |
unsigned int | getMediatorCollegueIndex (MediatorCollegue *collegue) |
unsigned int | getNumberOfMediatorCollegues () |
void | mediate (unsigned int indexOfMediatorCollegue, MediatorEvent *event) |
void | mediate (MediatorCollegue *collegue, MediatorEvent *event) |
void | mediateToAll (MediatorEvent *event) |
void | mediateToAllQMP (MediatorEvent *event) |
typedef std::vector<MediatorCollegue*> MediatorCollegueListType |
Mediator | ( | ) |
|
virtual |
void addMediatorCollegue | ( | MediatorCollegue * | collegue | ) |
MediatorCollegue * getMediatorCollegue | ( | unsigned int | index | ) |
unsigned int getMediatorCollegueIndex | ( | MediatorCollegue * | collegue | ) |
unsigned int getNumberOfMediatorCollegues | ( | ) |
void mediate | ( | unsigned int | indexOfMediatorCollegue, |
MediatorEvent * | event | ||
) |
void mediate | ( | MediatorCollegue * | collegue, |
MediatorEvent * | event | ||
) |
void mediateToAll | ( | MediatorEvent * | event | ) |
void mediateToAllQMP | ( | MediatorEvent * | event | ) |
|
pure virtual |
void removeAllMediatorCollegues | ( | ) |
void removeMediatorCollegue | ( | MediatorCollegue * | collegue | ) |