Overview     Modules     Class Hierarchy     Classes     Members  

tlp::ObservableGraph Class Reference
[Graphs]

#include <ObservableGraph.h>

Inheritance diagram for tlp::ObservableGraph:

List of all members.


Detailed Description

Observable object for graph.

Public Member Functions

Protected Member Functions

Protected Attributes


Constructor & Destructor Documentation

virtual tlp::ObservableGraph::~ObservableGraph (  )  [inline, virtual]


Member Function Documentation

void tlp::ObservableGraph::addObserver ( GraphObserver obs  )  const [inline]

Register a new observer

unsigned int tlp::ObservableGraph::countObservers (  )  [inline]

Returns the number of observers

void tlp::ObservableGraph::removeObserver ( GraphObserver item  )  const [inline]

Remove an observer

void tlp::ObservableGraph::removeObservers (  )  [inline]

Remove all observers

void tlp::ObservableGraph::notifyAddNode ( Graph ,
const node  n 
) [protected]

void tlp::ObservableGraph::notifyAddEdge ( Graph ,
const edge  e 
) [protected]

void tlp::ObservableGraph::notifyDelNode ( Graph ,
const node  n 
) [protected]

void tlp::ObservableGraph::notifyDelEdge ( Graph ,
const edge  e 
) [protected]

void tlp::ObservableGraph::notifyReverseEdge ( Graph ,
const edge  e 
) [protected]

void tlp::ObservableGraph::notifyDestroy ( Graph  )  [protected]


Member Data Documentation

std::set<GraphObserver*> tlp::ObservableGraph::observers [mutable, protected]



Tulip Software by LaBRI Visualization Team    2001 - 2007