Tulip  4.8.0
Better Visualization Through Research
 All Classes Files Functions Variables Enumerations Enumerator Properties Groups Pages
tlp::PropertyEvent Class Reference

#include <PropertyInterface.h>

+ Inheritance diagram for tlp::PropertyEvent:
+ Collaboration diagram for tlp::PropertyEvent:

Public Types

enum  PropertyEventType {
  TLP_BEFORE_SET_NODE_VALUE = 0, TLP_AFTER_SET_NODE_VALUE, TLP_BEFORE_SET_ALL_NODE_VALUE, TLP_AFTER_SET_ALL_NODE_VALUE,
  TLP_BEFORE_SET_ALL_EDGE_VALUE, TLP_AFTER_SET_ALL_EDGE_VALUE, TLP_BEFORE_SET_EDGE_VALUE, TLP_AFTER_SET_EDGE_VALUE
}
 
- Public Types inherited from tlp::Event
enum  EventType { TLP_DELETE = 0, TLP_MODIFICATION, TLP_INFORMATION, TLP_INVALID }
 

Public Member Functions

 PropertyEvent (const PropertyInterface &prop, PropertyEventType propEvtType, Event::EventType evtType=Event::TLP_MODIFICATION, unsigned int id=UINT_MAX)
 
edge getEdge () const
 
node getNode () const
 
PropertyInterfacegetProperty () const
 
PropertyEventType getType () const
 
- Public Member Functions inherited from tlp::Event
 Event (const Observable &sender, EventType type)
 
Observablesender () const
 
EventType type () const
 

Protected Attributes

unsigned int eltId
 
PropertyEventType evtType
 

Detailed Description

Contains additional information about events on a property, such as the property it happened on, the node/edge eventually concerned and such. It also contains the detailed type of the event.

Definition at line 511 of file PropertyInterface.h.