tlp::Event Class Reference
[Observable]
Event is the base class for all events used in the Observable/listener/Observer mechanism.
More...
#include <Observable.h>
List of all members.
Public Types
Public Member Functions
Friends
Detailed Description
Event is the base class for all events used in the Observable/listener/Observer mechanism.
Event is the base class to send notification to Observer or Listerner. The nature of an Event is characterized by its type. In the current implemenation there is 4 kind of event :
event::DELETE : send directly to all Observers/Listeners, it is not possible to delay its processing.
event::MODIFICATION : sent to all Observers/Listeners, it is possible to delay its processing. MODIFACTION are first sent to Observer then to Listenr
event::INFORMATION : sent only to Listeners, it is not possible to delay its processing.
event::INVALID : never sent use internally for delaying events.
- See also:
- Listener
-
Observer
-
Observable
Member Enumeration Documentation
- Enumerator:
TLP_DELETE |
|
TLP_MODIFICATION |
|
TLP_INFORMATION |
|
TLP_INVALID |
|
Constructor & Destructor Documentation
virtual tlp::Event::~Event |
( |
|
) |
[virtual] |
Member Function Documentation
EventType tlp::Event::type |
( |
|
) |
const [inline] |
Friends And Related Function Documentation
friend class Graph [friend] |