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.
§ Colleague() [1/2]
Default constructor requires a Mediator.
- Parameters
-
- Exceptions
-
§ Colleague() [2/2]
Copy constructor copies the mediator reference.
- Parameters
-
§ action()
Called by the mediator when another Colleague has generated an event that this colleague instance is interested in.
- Parameters
-
§ getEventsGenerated()
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 |
§ getInterestedEvents()
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 |
§ invokeMediator()
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: