#include <mediatorcollegue.h>
Collaboration diagram for MediatorCollegue:
Public Types | |
typedef unsigned long | InformMediatorType |
Public Member Functions | |
MediatorCollegue (Mediator *myMediator) | |
virtual | ~MediatorCollegue () |
void | informMediator (MediatorEvent *event) |
Calls the mediator that this collegue has performed something. | |
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. | |
Static Public Attributes | |
static const InformMediatorType | DEFAULT_INFORM_MEDIATOR_TYPE = 0 |
typedef unsigned long InformMediatorType |
MediatorCollegue | ( | Mediator * | myMediator | ) |
~MediatorCollegue | ( | ) | [virtual] |
virtual void doOnMediatorCallBack | ( | MediatorEvent * | event | ) | [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.
const InformMediatorType DEFAULT_INFORM_MEDIATOR_TYPE = 0 [static] |