#include <ObserverWrap.h>
Inheritance diagram for ObserverWrap:
Definition at line 29 of file ObserverWrap.h.
Public Member Functions | |
ObserverWrap (PyObject *self) | |
The constructor. | |
void | update (const Observable *) |
virtual void | willDelete (const Observable *) |
Notifies this Observer object that one of its Observable objects is about to be deleted. | |
Private Attributes | |
PyObject * | m_self |
The held Python object. |
|
The constructor.
Definition at line 48 of file ObserverWrap.cxx. |
|
Implements hippodraw::Observer. Definition at line 58 of file ObserverWrap.cxx. References m_self. |
|
Notifies Since most Observable objects are owned by its Observer, it is the Observer that issued the delete. Thus the default implementation here does nothing. Derived classes that observe objects owned by another should implement this method to remove the Observable from the list they are observing. Reimplemented in FunctionRep, DataSourceController, CutPlotter, TextPlotter, BinningProjector, DyHist1DProjector, DyHist2DProjector, NTupleProjector, Profile2DProjector, and ProfileProjector. Definition at line 25 of file Observer.cxx. Referenced by DataRep::~DataRep(), DataSource::~DataSource(), NTuple::~NTuple(), and RTuple::~RTuple(). |
|
The held Python object.
Definition at line 35 of file ObserverWrap.h. Referenced by update(). |