1 #if !defined(__COLLEAGUE_HPP) 2 #define __COLLEAGUE_HPP 24 #if !defined(__COMMON_HPP) 28 #if !defined(__VECTOR_HPP) 32 #if !defined(__EVENT_HPP) 38 CORELINUX_VECTOR( IdentifierPtr , EventIdentifiers );
40 DECLARE_CLASS( Mediator );
42 DECLARE_CLASS( Colleague );
153 #endif // if !defined(__COLLEAGUE_HPP) Colleague knows its Mediator object, communicates with its mediator whenever it would have otherwise ...
Definition: Colleague.hpp:49
ColleagueRef operator=(ColleagueCref)
Assignment operator.
Definition: Colleague.cpp:79
virtual void invokeMediator(Event< Identifier > *)
Called by the Colleague implementation to have the Mediator::action called with the event type...
Definition: Colleague.cpp:101
virtual void getEventsGenerated(EventIdentifiersRef)=0
Implementation defined to return the identifiers of the events that this Colleague generates...
Colleague(void)
Default constructor not allowed.
Definition: Colleague.cpp:37
virtual void action(Event< Identifier > *)=0
Called by the mediator when another Colleague has generated an event that this colleague instance is ...
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
NullPointerException is the base exception type for NullPointer.
Definition: NullPointerException.hpp:40
bool operator==(ColleagueCref) const
Equality operator.
Definition: Colleague.cpp:94
virtual ~Colleague(void)
Virtual destructor.
Definition: Colleague.cpp:72
Assertion is-a Exception created when an assertion fails.
Definition: Assertion.hpp:423
virtual void getInterestedEvents(EventIdentifiersRef)=0
Implementation defined to return the identifiers of the events that this Colleague is interested in...
Event provides a type basis for event ontologies.
Definition: Event.hpp:35