#include <Mediator.hpp>
Inheritance diagram for corelinux::Mediator
Public Methods | |
Mediator ( void ) | |
Default constructor. | |
Mediator ( MediatorCref ) | |
Copy constructor. | |
virtual | ~Mediator ( void ) |
Virtual destructor. | |
MediatorRef | operator= ( MediatorCref ) |
Assignment operator. | |
bool | operator== ( MediatorCref ) const |
Equality operator. | |
virtual void | action ( Event<Identifier>* ) throw ( NullPointerException ) |
Protected Methods | |
virtual void | colleagueCreated ( ColleaguePtr ) = 0 |
colleagueCreated requires a implementation for derivations that need to gather information from the Colleague to distribute action events. More... | |
virtual Iterator<ColleaguePtr>* | createIterator ( Event<Identifier>* ) = 0 |
When action is called on the Mediator, it will ask the implementation for the Colleagues that are interested in the event identified by the identifier. More... | |
virtual void | destroyIterator ( Iterator<ColleaguePtr> * ) = 0 |
Called when action is through with the colleague iteration. More... |
|
colleagueCreated requires a implementation for derivations that need to gather information from the Colleague to distribute action events.
Reimplemented in ListMediator. |
|
When action is called on the Mediator, it will ask the implementation for the Colleagues that are interested in the event identified by the identifier.
Reimplemented in ListMediator. |
|
Called when action is through with the colleague iteration.
Reimplemented in ListMediator. |