#include <Colleague.hpp>
Inheritance diagram for corelinux::Colleague
Public Methods | |
Colleague ( MediatorPtr ) throw ( NullPointerException ) | |
Default constructor requires a Mediator. More... | |
Colleague ( ColleagueCref ) | |
Copy constructor copies the mediator reference. More... | |
virtual | ~Colleague ( void ) |
Virtual destructor. | |
ColleagueRef | operator= ( ColleagueCref ) |
Assignment operator. | |
bool | operator== ( ColleagueCref ) const |
Equality operator. | |
virtual void | getEventsGenerated ( EventIdentifiersRef ) = 0 |
Implementation defined to return the identifiers of the events that this Colleague generates. More... | |
virtual void | getInterestedEvents ( EventIdentifiersRef ) = 0 |
Implementation defined to return the identifiers of the events that this Colleague is interested in. More... | |
virtual void | action ( Event<Identifier> * ) = 0 |
Called by the mediator when another Colleague has generated an event that this colleague instance is interested in. More... | |
Protected Methods | |
Colleague ( void ) throw ( Assertion ) | |
Default constructor not allowed. | |
virtual void | invokeMediator ( Event<Identifier> * ) throw ( NullPointerException ) |
Called by the Colleague implementation to have the Mediator::action called with the event type. More... |
|
Default constructor requires a Mediator.
|
|
Copy constructor copies the mediator reference.
|
|
Called by the mediator when another Colleague has generated an event that this colleague instance is interested in.
Reimplemented in EditColleague, ListColleague, and SelectColleague. |
|
Implementation defined to return the identifiers of the events that this Colleague generates.
Reimplemented in EditColleague, ListColleague, and SelectColleague. |
|
Implementation defined to return the identifiers of the events that this Colleague is interested in.
Reimplemented in EditColleague, ListColleague, and SelectColleague. |
|
Called by the Colleague implementation to have the Mediator::action called with the event type.
|