Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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-v630/rootspi/rdoc/src/v6-30-00-patches/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 177 of file MemoryRegulator.cxx.

◆ RetrievePyObject()

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

Definition at line 233 of file MemoryRegulator.cxx.

◆ SetRegisterHook()

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

Definition at line 254 of file MemoryRegulator.cxx.

◆ SetUnregisterHook()

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

Definition at line 260 of file MemoryRegulator.cxx.

◆ UnregisterPyObject()

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

Definition at line 204 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.

  • bindings/pyroot/cppyy/CPyCppyy/src/MemoryRegulator.h
  • bindings/pyroot/cppyy/CPyCppyy/src/MemoryRegulator.cxx