tlp::Observable Class Reference#include <Observable.h>
Inherited by tlp::ColorScale, tlp::Graph, and tlp::PropertyInterface.
Inheritance diagram for tlp::Observable:
[legend]List of all members.
Detailed Description
All instances of that class can be observed by by an instance of the Observer class.
Public Member Functions
Static Public Member Functions
Protected Member Functions
Protected Attributes
Static Protected Attributes
Friends
Constructor & Destructor Documentation
virtual tlp::Observable::~Observable |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
void tlp::Observable::addObserver |
( |
Observer * |
|
) |
|
|
unsigned int tlp::Observable::countObservers |
( |
|
) |
[inline] |
|
|
Returns the number of observers |
static void tlp::Observable::holdObservers |
( |
|
) |
[static] |
|
void tlp::Observable::notifyDestroy |
( |
|
) |
|
|
|
Notify all the observers that the object will be destroyed. Need to be called into the destructor of the observable.
Reimplemented in tlp::Graph. |
void tlp::Observable::notifyObservers |
( |
|
) |
|
|
void tlp::Observable::removeObserver |
( |
Observer * |
|
) |
[inline] |
|
void tlp::Observable::removeObservers |
( |
|
) |
|
|
void tlp::Observable::removeOnlyObserver |
( |
Observer * |
|
) |
[inline, protected] |
|
static void tlp::Observable::unholdObservers |
( |
|
) |
[static] |
|
Friends And Related Function Documentation
Member Data Documentation
|