Logo ROOT  
Reference Guide
CPyCppyy::MemoryRegulator Class Reference

Definition at line 13 of file MemoryRegulator.h.

Public Member Functions

 MemoryRegulator ()
 

Static Public Member Functions

static bool RecursiveRemove (Cppyy::TCppObject_t cppobj, Cppyy::TCppType_t klass)
 
static bool RegisterPyObject (CPPInstance *pyobj, void *cppobj)
 
static PyObjectRetrievePyObject (Cppyy::TCppObject_t cppobj, PyObject *pyclass)
 
static void SetRegisterHook (MemHook_t h)
 
static void SetUnregisterHook (MemHook_t h)
 
static bool UnregisterPyObject (CPPInstance *pyobj, PyObject *pyclass)
 

Static Private Attributes

static MemHook_t registerHook = nullptr
 
static MemHook_t unregisterHook = nullptr
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/bindings/pyroot/cppyy/CPyCppyy/src/MemoryRegulator.h>

Constructor & Destructor Documentation

◆ MemoryRegulator()

CPyCppyy::MemoryRegulator::MemoryRegulator ( )

Definition at line 91 of file MemoryRegulator.cxx.

Member Function Documentation

◆ RecursiveRemove()

bool CPyCppyy::MemoryRegulator::RecursiveRemove ( Cppyy::TCppObject_t  cppobj,
Cppyy::TCppType_t  klass 
)
static

Definition at line 99 of file MemoryRegulator.cxx.

◆ RegisterPyObject()

bool CPyCppyy::MemoryRegulator::RegisterPyObject ( CPPInstance pyobj,
void cppobj 
)
static

Definition at line 173 of file MemoryRegulator.cxx.

◆ RetrievePyObject()

PyObject * CPyCppyy::MemoryRegulator::RetrievePyObject ( Cppyy::TCppObject_t  cppobj,
PyObject pyclass 
)
static

Definition at line 229 of file MemoryRegulator.cxx.

◆ SetRegisterHook()

void CPyCppyy::MemoryRegulator::SetRegisterHook ( MemHook_t  h)
static

Definition at line 250 of file MemoryRegulator.cxx.

◆ SetUnregisterHook()

void CPyCppyy::MemoryRegulator::SetUnregisterHook ( MemHook_t  h)
static

Definition at line 256 of file MemoryRegulator.cxx.

◆ UnregisterPyObject()

bool CPyCppyy::MemoryRegulator::UnregisterPyObject ( CPPInstance pyobj,
PyObject pyclass 
)
static

Definition at line 200 of file MemoryRegulator.cxx.

Member Data Documentation

◆ registerHook

CPyCppyy::MemHook_t CPyCppyy::MemoryRegulator::registerHook = nullptr
staticprivate

Definition at line 15 of file MemoryRegulator.h.

◆ unregisterHook

CPyCppyy::MemHook_t CPyCppyy::MemoryRegulator::unregisterHook = nullptr
staticprivate

Definition at line 15 of file MemoryRegulator.h.


The documentation for this class was generated from the following files: