tlp::PropertyObserver(3) Observer for Property.

SYNOPSIS


#include <ObservableProperty.h>

Inherited by tlp::DoubleProperty, tlp::GraphProperty, tlp::IntegerProperty, tlp::LayoutProperty, and tlp::SizeProperty.

Public Member Functions


virtual ~PropertyObserver ()

virtual void beforeSetNodeValue (PropertyInterface *, const node)

virtual void afterSetNodeValue (PropertyInterface *, const node)

virtual void beforeSetEdgeValue (PropertyInterface *, const edge)

virtual void afterSetEdgeValue (PropertyInterface *, const edge)

virtual void beforeSetAllNodeValue (PropertyInterface *)

virtual void afterSetAllNodeValue (PropertyInterface *)

virtual void beforeSetAllEdgeValue (PropertyInterface *)

virtual void afterSetAllEdgeValue (PropertyInterface *)

virtual void destroy (PropertyInterface *)

Detailed Description

Observer for Property.

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.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void tlp::PropertyObserver::afterSetAllEdgeValue (PropertyInterface *) [inline, virtual]

Reimplemented in tlp::IntegerProperty.

virtual void tlp::PropertyObserver::afterSetAllNodeValue (PropertyInterface *) [inline, virtual]

Reimplemented in tlp::GraphProperty, and tlp::IntegerProperty.

virtual void tlp::PropertyObserver::afterSetEdgeValue (PropertyInterface *, const edge) [inline, virtual]

Reimplemented in tlp::IntegerProperty.

virtual void tlp::PropertyObserver::afterSetNodeValue (PropertyInterface *, const node) [inline, virtual]

Reimplemented in tlp::GraphProperty, and tlp::IntegerProperty.

virtual void tlp::PropertyObserver::beforeSetAllEdgeValue (PropertyInterface *) [inline, virtual]

Reimplemented in tlp::DoubleProperty, tlp::LayoutProperty, and tlp::SizeProperty.

virtual void tlp::PropertyObserver::beforeSetAllNodeValue (PropertyInterface *) [inline, virtual]

Reimplemented in tlp::DoubleProperty, tlp::GraphProperty, tlp::LayoutProperty, and tlp::SizeProperty.

virtual void tlp::PropertyObserver::beforeSetEdgeValue (PropertyInterface *, const edge) [inline, virtual]

Reimplemented in tlp::DoubleProperty, tlp::LayoutProperty, and tlp::SizeProperty.

virtual void tlp::PropertyObserver::beforeSetNodeValue (PropertyInterface *, const node) [inline, virtual]

Reimplemented in tlp::DoubleProperty, tlp::GraphProperty, tlp::LayoutProperty, and tlp::SizeProperty.

virtual void tlp::PropertyObserver::destroy (PropertyInterface *) [inline, virtual]

Author

Generated automatically by Doxygen for Tulip Graph Library from the source code.