#include <Subject.hpp>
Inheritance diagram for corelinux::Subject::
Public Methods | |
Subject (void) | |
Default constructor. | |
Subject (SubjectCref) | |
Copy constructor. More... | |
virtual | ~Subject (void) |
Virtual destructor. | |
SubjectRef | operator= (SubjectCref) |
Assignment operator. | |
bool | operator== (SubjectCref) const |
Equality operator. | |
bool | operator!= (SubjectCref) const |
In-Equality operator. | |
virtual void | addObserver (ObserverPtr, Event< Identifier > *)=0 throw ( NullPointerException ) |
Add an observer for a specific event. More... | |
virtual void | removeObserver (ObserverPtr)=0 throw ( NullPointerException ) |
Remove an observer from all event notifications. More... | |
virtual void | removeObserver (ObserverPtr, Event< Identifier > *)=0 throw ( NullPointerException ) |
Remove an observer from specific event notifications. More... | |
virtual Iterator< ObserverPtr > * | createIterator (void)=0 |
Create a iterator for all observers. More... | |
virtual Iterator< ObserverPtr > * | createIterator (Event< Identifier > *)=0 throw ( NullPointerException ) |
Create a iterator for observers of this event. More... | |
virtual void | destroyIterator (Iterator< ObserverPtr > *)=0 throw ( NullPointerException ) |
Deletes the iterator instance. More... | |
Protected Methods | |
virtual void | notifyObservers (Event< Identifier > *) throw ( NullPointerException ) |
Performs the notification of observers for a specific event. More... | |
virtual void | notifyAllObservers (Event< Identifier > *) throw ( NullPointerException ) |
Performs the notification of ALL observers for a with a specific event. More... |
|
Copy constructor.
|
|
Add an observer for a specific event.
|
|
Create a iterator for observers of this event.
|
|
Create a iterator for all observers.
Reimplemented in SubjectObserver. |
|
Deletes the iterator instance.
|
|
Performs the notification of ALL observers for a with a specific event.
|
|
Performs the notification of observers for a specific event.
|
|
Remove an observer from specific event notifications.
|
|
Remove an observer from all event notifications.
Reimplemented in SubjectObserver. |