Overview     Modules     Class Hierarchy     Classes     Members  

tlp::GraphObserver Class Reference
[Graphs]

#include <ObservableGraph.h>

Inherited by tlp::AcyclicTest, tlp::BiconnectedTest, tlp::ConnectedTest [private], tlp::GraphProperty, tlp::LayoutProperty, tlp::OuterPlanarTest [private], tlp::PlanarityTest, tlp::SimpleTest, tlp::TreeTest [private], and tlp::TriconnectedTest [private].

Inheritance diagram for tlp::GraphObserver:

Inheritance graph
[legend]
List of all members.

Detailed Description

Observer for Graph.

The Observer pattern is described in the lecture notes and pp293-304 of Design Patterns by Gamma, Helm, Johnson, and Vlissides. It is a framework for handling state dependency between observer and observed object.

Public Member Functions


Constructor & Destructor Documentation

tlp::GraphObserver::GraphObserver bool  manageObservables = true  )  [inline]
 

virtual tlp::GraphObserver::~GraphObserver  )  [virtual]
 


Member Function Documentation

virtual void tlp::GraphObserver::addEdge Graph ,
const   edge
[inline, virtual]
 

virtual void tlp::GraphObserver::addLocalProperty Graph ,
const std::string & 
[inline, virtual]
 

virtual void tlp::GraphObserver::addNode Graph ,
const   node
[inline, virtual]
 

void tlp::GraphObserver::addObservable ObservableGraph  ) 
 

virtual void tlp::GraphObserver::addSubGraph Graph ,
Graph
[inline, virtual]
 

virtual void tlp::GraphObserver::afterSetAttribute Graph ,
const std::string & 
[inline, virtual]
 

virtual void tlp::GraphObserver::beforeSetAttribute Graph ,
const std::string & 
[inline, virtual]
 

virtual void tlp::GraphObserver::delEdge Graph ,
const   edge
[inline, virtual]
 

virtual void tlp::GraphObserver::delLocalProperty Graph ,
const std::string & 
[inline, virtual]
 

virtual void tlp::GraphObserver::delNode Graph ,
const   node
[inline, virtual]
 

virtual void tlp::GraphObserver::delSubGraph Graph ,
Graph
[inline, virtual]
 

virtual void tlp::GraphObserver::destroy Graph  )  [inline, virtual]
 

Reimplemented in tlp::GraphProperty.

virtual void tlp::GraphObserver::removeAttribute Graph ,
const std::string & 
[inline, virtual]
 

void tlp::GraphObserver::removeObservable ObservableGraph  ) 
 

virtual void tlp::GraphObserver::reverseEdge Graph ,
const   edge
[inline, virtual]
 

Reimplemented in tlp::LayoutProperty.



Tulip Software by LaBRI Visualization Team    2001 - 2010