Tulip 5.7.1
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
 
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 687 of file PropertyInterface.h.

Member Enumeration Documentation

◆ PropertyEventType

enum tlp::PropertyEvent::PropertyEventType

Definition at line 691 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 701 of file PropertyInterface.h.

Member Function Documentation

◆ getEdge()

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

Definition at line 714 of file PropertyInterface.h.

◆ getNode()

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

Definition at line 709 of file PropertyInterface.h.

◆ getProperty()

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

Definition at line 705 of file PropertyInterface.h.

◆ getType()

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

Definition at line 719 of file PropertyInterface.h.

Member Data Documentation

◆ eltId

unsigned int tlp::PropertyEvent::eltId
protected

Definition at line 725 of file PropertyInterface.h.

◆ evtType

PropertyEventType tlp::PropertyEvent::evtType
protected

Definition at line 724 of file PropertyInterface.h.