Colleague knows its Mediator object, communicates with its mediator whenever it would have otherwise communicated with another Colleague.
More...
#include <Colleague.hpp>
Colleague knows its Mediator object, communicates with its mediator whenever it would have otherwise communicated with another Colleague.
Default constructor requires a Mediator.
- Parameters
-
- Exceptions
-
Copy constructor copies the mediator reference.
- Parameters
-
Called by the mediator when another Colleague has generated an event that this colleague instance is interested in.
- Parameters
-
virtual void corelinux::Colleague::getEventsGenerated |
( |
EventIdentifiersRef |
| ) |
|
|
pure virtual |
Implementation defined to return the identifiers of the events that this Colleague generates.
- Parameters
-
EventIdentifiers | vector reference |
virtual void corelinux::Colleague::getInterestedEvents |
( |
EventIdentifiersRef |
| ) |
|
|
pure virtual |
Implementation defined to return the identifiers of the events that this Colleague is interested in.
- Parameters
-
EventIdentifiers | vector reference |
Called by the Colleague implementation to have the Mediator::action called with the event type.
- Parameters
-
- Exceptions
-
The documentation for this class was generated from the following files: