#include <Subject.hpp>
Inheritance diagram for corelinux::Subject:

Public Member Functions | |
| Subject (void) | |
| Default constructor. | |
| Subject (SubjectCref) | |
| Copy constructor. | |
| 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. | |
| virtual void | removeObserver (ObserverPtr)=0 throw ( NullPointerException ) |
| Remove an observer from all event notifications. | |
| virtual void | removeObserver (ObserverPtr, Event< Identifier > *)=0 throw ( NullPointerException ) |
| Remove an observer from specific event notifications. | |
| virtual Iterator< ObserverPtr > * | createIterator (void)=0 |
| Create a iterator for all observers. | |
| virtual Iterator< ObserverPtr > * | createIterator (Event< Identifier > *)=0 throw ( NullPointerException ) |
| Create a iterator for observers of this event. | |
| virtual void | destroyIterator (Iterator< ObserverPtr > *)=0 throw ( NullPointerException ) |
| Deletes the iterator instance. | |
Protected Member Functions | |
| virtual void | notifyObservers (Event< Identifier > *) throw ( NullPointerException ) |
| Performs the notification of observers for a specific event. | |
| virtual void | notifyAllObservers (Event< Identifier > *) throw ( NullPointerException ) |
| Performs the notification of ALL observers for a with a specific event. | |
|
|
Copy constructor.
|
|
||||||||||||
|
Add an observer for a specific event.
|
|
|
Create a iterator for observers of this event.
|
|
|
Create a iterator for all observers.
Implemented 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.
Implemented in SubjectObserver. |