|
CoreLinux++
0.4.32
|
Observer observes Subjets and supports the event interface for recieving subject event notifications. More...
#include <Observer.hpp>
Public Member Functions | |
| Observer (void) | |
| Default constructor. | |
| Observer (ObserverCref) | |
| Copy constructor. More... | |
| virtual | ~Observer (void) |
| Virtual destructor. | |
| ObserverRef | operator= (ObserverCref) |
| Assignment operator. | |
| bool | operator== (ObserverCref) const |
| Equality operator. | |
| bool | operator!= (ObserverCref) const |
| In-Equality operator. | |
| virtual void | event (Event< Identifier > *) throw ( NullPointerException ) |
| Called by Subject::notifyObservers if this observer instance is registered for the event type. More... | |
Observer observes Subjets and supports the event interface for recieving subject event notifications.
| corelinux::Observer::Observer | ( | ObserverCref | ) |
Copy constructor.
| Observer | const referencee |
|
virtual | ||||||||||||||
Called by Subject::notifyObservers if this observer instance is registered for the event type.
| Event | the type of event interested in |
| NullPointer | exception if event is null |