4 #ifndef PYROOT_TMEMORYREGULATOR_H 5 #define PYROOT_TMEMORYREGULATOR_H 54 #endif // !PYROOT_TMEMORYREGULATOR_H
static PyObject * RetrieveObject(TObject *object, Cppyy::TCppType_t klass)
lookup <object>, return old proxy if tracked
std::map< TObject *, PyObject *> ObjectMap_t
virtual void RecursiveRemove(TObject *object)
Recursively remove this object from a list.
static Bool_t RegisterObject(ObjectProxy *pyobj, TObject *object)
start tracking <object> proxied by <pyobj>
static WeakRefMap_t * fgWeakRefTable
~TMemoryRegulator()
cleanup weakref cache
static ObjectMap_t * fgObjectTable
static Bool_t UnregisterObject(TObject *object)
stop tracking <object>, without notification
static PyObject * ObjectEraseCallback(PyObject *, PyObject *pyref)
Mother of all ROOT objects.
std::map< PyObject *, ObjectMap_t::iterator > WeakRefMap_t