14 #ifndef ObserverWrap_H
15 #define ObserverWrap_H
41 boost::python::object
get_owner (
T * me )
const;
58 #endif // ObserverWrap_H
Part of an implementation of the Observable-Observer pattern based on the example in the GOF Patterns...
boost::python::object get_owner(T *me) const
Find the Python object that owns this object.
A wrapper class for Observer to allow its pure virtual function to be implemented in Python...
PyObject * m_self
The held Python object.
Part of an implementation of the Observable Observer pattern based on the example implementation in t...
void update(const Observable *)
Observer class interface.