Panda3D
MemoryBase Class Reference

This class is intended to be the base class of all objects in Panda that might be allocated and deleted via the new and delete operators. More...

#include "memoryBase.h"

Inheritance diagram for MemoryBase:
CycleData DXFFile EggAttributes Namable NotifyCategory PointerToVoid ReferenceCount TypedObject TypeRegistry

Detailed Description

This class is intended to be the base class of all objects in Panda that might be allocated and deleted via the new and delete operators.

It redefines these operators to provide some memory tracking support.

We used to try to override the global operator new and delete methods, but that seems to cause problems when including header files for C++-based system libraries (such as are found on OSX).

Definition at line 69 of file memoryBase.h.


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