#include <data_observer.hh>
Detailed Description
Abstract base class of data observer.
Definition at line 59 of file data_observer.hh.
Constructor & Destructor Documentation
constructor
requires reference to data, then attaches itself to data
Member Function Documentation
Returns data that is observed.
bool IsDataValid |
( |
| ) |
const |
|
inline |
void ObserverInvalidate |
( |
| ) |
|
Called after ObserverRelease.
virtual void ObserverRelease |
( |
| ) |
|
|
pure virtual |
Called if data is released from memory.
virtual void ObserverUpdate |
( |
| ) |
|
|
virtual |
called upon data change, noop by default
virtual void ObserverUpdate |
( |
const Extent & |
| ) |
|
|
virtual |
virtual void ObserverUpdate |
( |
const Point & |
| ) |
|
|
virtual |
Set new data to observe.
Automatically unregister previously observed data
The documentation for this class was generated from the following file: