Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

# 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...

Inheritance diagram for MemoryBase:

## 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).

All Classes Namespaces Functions Variables Enumerations Enumerator Properties