MediatorCollegue Class Reference

#include <mediatorcollegue.h>

Collaboration diagram for MediatorCollegue:
Collaboration graph
[legend]

List of all members.

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.
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

Protected Member Functions

void setMediator (Mediator *myMediator)
 Sets the own mediator.

Member Typedef Documentation

typedef unsigned long InformMediatorType

Constructor & Destructor Documentation

MediatorCollegue ( Mediator myMediator = 0  ) 
~MediatorCollegue (  )  [virtual]

Member Function Documentation

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.

void setMediator ( Mediator myMediator  )  [protected]

Sets the own mediator.

Useful if mediator is unknown in initialization.

Parameters:
myMediator 

Member Data Documentation


The documentation for this class was generated from the following files:
Generated on Thu Jun 28 14:48:14 2012 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3