Tulip 6.1.0
Large graphs analysis and drawing
Loading...
Searching...
No Matches
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
PropertyInterface * getProperty () const
PropertyEventType getType () const
Public Member Functions inherited from tlp::Event
 Event (const Observable &sender, EventType type)
Observable * sender () 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 806 of file PropertyInterface.h.

Member Enumeration Documentation

◆ PropertyEventType

enum tlp::PropertyEvent::PropertyEventType

Definition at line 810 of file PropertyInterface.h.

Constructor & Destructor Documentation

◆ PropertyEvent()

tlp::PropertyEvent::PropertyEvent ( const PropertyInterface & prop,
PropertyEventType propEvtType,
Event::EventType evtType = Event::TLP_MODIFICATION,
unsigned int id = UINT_MAX )
inline

Definition at line 820 of file PropertyInterface.h.

Member Function Documentation

◆ getEdge()

edge tlp::PropertyEvent::getEdge ( ) const
inline

Definition at line 833 of file PropertyInterface.h.

◆ getNode()

node tlp::PropertyEvent::getNode ( ) const
inline

Definition at line 828 of file PropertyInterface.h.

◆ getProperty()

PropertyInterface * tlp::PropertyEvent::getProperty ( ) const
inline

Definition at line 824 of file PropertyInterface.h.

◆ getType()

PropertyEventType tlp::PropertyEvent::getType ( ) const
inline

Definition at line 838 of file PropertyInterface.h.

Member Data Documentation

◆ eltId

unsigned int tlp::PropertyEvent::eltId
protected

Definition at line 844 of file PropertyInterface.h.

◆ evtType

PropertyEventType tlp::PropertyEvent::evtType
protected

Definition at line 843 of file PropertyInterface.h.