Overview     Modules     Class Hierarchy     Classes     Members  

#include <PropertyInterface.h>

Inheritance diagram for tlp::PropertyInterface:
Collaboration diagram for tlp::PropertyInterface:

List of all members.

Classes

class  MetaValueCalculator

Public Member Functions

virtual ~PropertyInterface ()
virtual void erase (const node)=0
virtual void erase (const edge)=0
virtual void copy (const node src, const node dst, PropertyInterface *prop, bool ifNotDefault=false)=0
virtual void copy (const edge src, const edge dst, PropertyInterface *prop, bool ifNotDefault=false)=0
virtual void copy (PropertyInterface *prop)=0
virtual PropertyInterfaceclonePrototype (Graph *, const std::string &)=0
virtual std::string getTypename () const =0
const std::string & getName () const
tlp::GraphgetGraph ()
virtual std::string getNodeDefaultStringValue () const =0
virtual bool setAllNodeStringValue (const std::string &v)=0
virtual std::string getEdgeDefaultStringValue () const =0
virtual bool setAllEdgeStringValue (const std::string &v)=0
virtual std::string getNodeStringValue (const node n) const =0
virtual bool setNodeStringValue (const node n, const std::string &v)=0
virtual std::string getEdgeStringValue (const edge e) const =0
virtual bool setEdgeStringValue (const edge e, const std::string &v)=0
virtual DataMemgetNodeDefaultDataMemValue () const =0
virtual void setAllNodeDataMemValue (const DataMem *v)=0
virtual DataMemgetEdgeDefaultDataMemValue () const =0
virtual void setAllEdgeDataMemValue (const DataMem *v)=0
virtual DataMemgetNodeDataMemValue (const node n) const =0
virtual DataMemgetNonDefaultDataMemValue (const node n) const =0
virtual void setNodeDataMemValue (const node n, const DataMem *v)=0
virtual DataMemgetEdgeDataMemValue (const edge e) const =0
virtual DataMemgetNonDefaultDataMemValue (const edge e) const =0
virtual void setEdgeDataMemValue (const edge e, const DataMem *v)=0
virtual tlp::Iterator< node > * getNonDefaultValuatedNodes (const Graph *=NULL) const =0
virtual tlp::Iterator< edge > * getNonDefaultValuatedEdges (const Graph *=NULL) const =0
virtual void computeMetaValue (node mN, Graph *sg, Graph *mg)=0
virtual void computeMetaValue (edge mE, tlp::Iterator< edge > *itE, Graph *mg)=0
MetaValueCalculatorgetMetaValueCalculator ()
virtual void setMetaValueCalculator (MetaValueCalculator *mvCalc)
void addPropertyObserver (PropertyObserver *pObs)
void removePropertyObserver (PropertyObserver *pObs)
unsigned int countPropertyObservers () const
virtual int compare (const node n1, const node n2) const =0
 Compare value of the node n1 to the value of the node n2.
virtual int compare (const edge e1, const edge e2) const =0
 Compare value of the edge e1 to the value of the edge e2.
- Public Member Functions inherited from tlp::Observable
 Observable ()
_DEPRECATED Observable (bool)
virtual ~Observable ()
tlp::Iterator< Observable * > * getOnlookers () const
 return an Iterator on all Onlookers
tlp::Iterator< Observable * > * getObservables () const
virtual void treatEvents (const std::vector< Event > &events)
virtual void _DEPRECATED update (std::set< Observable * >::iterator, std::set< Observable * >::iterator)
virtual void _DEPRECATED observableDestroyed (Observable *)
virtual void treatEvent (const Event &)
void addObserver (Observable *const obs) const
 use for old observer tulip compatibility
void addListener (Observable *const obs) const
 use for old observer tulip compatibility
void removeOnlooker (const Observable &, OLOEDGETYPE type) const
 remove an Observer/Listener of the observable
void removeObserver (Observable *const obs) const
 use for old observer tulip compatibility
void removeListener (Observable *const obs) const
void _DEPRECATED notifyObservers ()
 use for old observer tulip compatibility
unsigned int countObservers () const
unsigned int countOnLookers () const
unsigned int countListeners () const
bool hasOnlookers () const
 remove all Observer/Listener of the observable
- Public Member Functions inherited from tlp::OLOObject
tlp::node getNode () const
 return the node representing that OLOObject in the OLOGraph
unsigned int getSent () const
 return the number of sent nofication
unsigned int getReceived () const
 return the number of received nofication

Protected Member Functions

void notifyBeforeSetNodeValue (const node n)
void notifyAfterSetNodeValue (const node n)
void notifyBeforeSetEdgeValue (const edge e)
void notifyAfterSetEdgeValue (const edge e)
void notifyBeforeSetAllNodeValue ()
void notifyAfterSetAllNodeValue ()
void notifyBeforeSetAllEdgeValue ()
void notifyAfterSetAllEdgeValue ()
void notifyDestroy ()
 use for old observer tulip compatibility
- Protected Member Functions inherited from tlp::Observable
void addOnlooker (const Observable &, OLOEDGETYPE type) const
 add an Observer/Listener to the observable
void sendEvent (const Event &)
 Enable to send an event to all Observer/Listener.
void observableDeleted ()
 Enable to send Event::DELETE before the deletion of subclass internal objects.
- Protected Member Functions inherited from tlp::OLOObject
 OLOObject ()
 OLOObject (const OLOObject &)
virtual ~OLOObject ()
OLOObjectoperator= (const OLOObject &)
tlp::Iterator< tlp::node > * getInObjects () const
 return an iterator on in objects (Observable), the iterator guarantee that all objects are alive (not deleted during hold or notify)
tlp::Iterator< tlp::node > * getOutObjects () const
 return an iterator on out objects (Listener/Observer), the iterator garantee that all objects are alive (not deleted during hold or notify)

Protected Attributes

std::string name
Graphgraph
MetaValueCalculatormetaValueCalculator

Friends

class PropertyManager

Additional Inherited Members

- Static Public Member Functions inherited from tlp::Observable
static void holdObservers ()
 start delay of events to all Observer
static void unholdObservers ()
 Send queued event to all Observer.
static void _DEPRECATED unholdObservers (bool)
static unsigned int observersHoldCounter ()
- Static Public Member Functions inherited from tlp::OLOObject
static OLOObjectgetObject (tlp::node n)
static bool isAlive (tlp::node n)
 Enables to test if the object represented by a node has been deleted. Outside a unhold/hold block or an update that function always return true.
static const tlp::VectorGraphgetOLOGraph ()
 Return a reference on the Observable/Listener/Observer graph.


Tulip Software by LaBRI Visualization Team    2001 - 2012