Robot Simulator of the Robotics Group for Self-Organization of Control: MediatorCollegue Class Reference

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# MediatorCollegue Class Reference

`#include <mediatorcollegue.h>`

Collaboration diagram for MediatorCollegue:

[legend]
List of all members.

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

## Member Typedef Documentation

typedef unsigned long InformMediatorType

## Constructor & Destructor Documentation

MediatorCollegue | ( | Mediator * | myMediator | ) |

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

## Member Data Documentation

const InformMediatorType DEFAULT_INFORM_MEDIATOR_TYPE = 0`[static]`

The documentation for this class was generated from the following files:

- mediatorcollegue.h
- mediatorcollegue.cpp