Tulip
6.0.0
Large graphs analysis and drawing
|
#include <Observable.h>
Public Types | |
enum | EventType { TLP_DELETE = 0 , TLP_MODIFICATION , TLP_INFORMATION , TLP_INVALID } |
Public Member Functions | |
Event (const Observable &sender, EventType type) | |
Observable * | sender () const |
EventType | type () const |
Friends | |
class | Graph |
class | Observable |
class | PropertyInterface |
Event is the base class for all events used in the Observation mechanism.
An Event is characterized by its type. The base Event class only carries information as to the type of event, nothing specific.
Event::TLP_DELETE : send directly to all Observers/Listeners, not affected by Observable::holdObservers(). Event::TLP_MODIFICATION : sent to all Observers/Listeners. MODIFICATION are first sent to Observers and then to Listeners. Event::TLP_INFORMATION : sent only to Listeners. Event::TLP_INVALID : never sent, used internally for delaying events.
Definition at line 52 of file Observable.h.