SYNOPSIS
#include <ObservableProperty.h>
Inherited by tlp::PropertyInterface.
Public Member Functions
virtual ~ObservableProperty ()
void addPropertyObserver (PropertyObserver *) const
unsigned int countPropertyObservers ()
void removePropertyObserver (PropertyObserver *) const
void removePropertyObservers ()
Protected Member Functions
void notifyBeforeSetNodeValue (PropertyInterface *, const node n)
void notifyAfterSetNodeValue (PropertyInterface *, const node n)
void notifyBeforeSetEdgeValue (PropertyInterface *, const edge e)
void notifyAfterSetEdgeValue (PropertyInterface *, const edge e)
void notifyBeforeSetAllNodeValue (PropertyInterface *)
void notifyAfterSetAllNodeValue (PropertyInterface *)
void notifyBeforeSetAllEdgeValue (PropertyInterface *)
void notifyAfterSetAllEdgeValue (PropertyInterface *)
void notifyDestroy (PropertyInterface *)
Protected Attributes
stdext::slist< PropertyObserver * > observers
Detailed Description
Observable object for Property.
Constructor & Destructor Documentation
virtual tlp::ObservableProperty::~ObservableProperty () [inline, virtual]
Member Function Documentation
void tlp::ObservableProperty::addPropertyObserver (PropertyObserver * obs) const [inline]Register a new observer
unsigned int tlp::ObservableProperty::countPropertyObservers () [inline]Returns the number of observers
void tlp::ObservableProperty::notifyAfterSetAllEdgeValue (PropertyInterface *) [protected]
Reimplemented in tlp::PropertyInterface.
void tlp::ObservableProperty::notifyAfterSetAllNodeValue (PropertyInterface *) [protected]
Reimplemented in tlp::PropertyInterface.
void tlp::ObservableProperty::notifyAfterSetEdgeValue (PropertyInterface *, const edge e) [protected]
Reimplemented in tlp::PropertyInterface.
void tlp::ObservableProperty::notifyAfterSetNodeValue (PropertyInterface *, const node n) [protected]
Reimplemented in tlp::PropertyInterface.
void tlp::ObservableProperty::notifyBeforeSetAllEdgeValue (PropertyInterface *) [protected]
void tlp::ObservableProperty::notifyBeforeSetAllNodeValue (PropertyInterface *) [protected]
void tlp::ObservableProperty::notifyBeforeSetEdgeValue (PropertyInterface *, const edge e) [protected]
void tlp::ObservableProperty::notifyBeforeSetNodeValue (PropertyInterface *, const node n) [protected]
void tlp::ObservableProperty::notifyDestroy (PropertyInterface *) [protected]
Reimplemented in tlp::PropertyInterface.
void tlp::ObservableProperty::removePropertyObserver (PropertyObserver * item) const [inline]Remove an observer
void tlp::ObservableProperty::removePropertyObservers () [inline]Remove all observers
Member Data Documentation
stdext::slist<PropertyObserver*> tlp::ObservableProperty::observers [mutable, protected]
Author
Generated automatically by Doxygen for Tulip Graph Library from the source code.