PxBroadcastingAllocator Class Reference
[Foundation]
Abstract base class for an application defined memory allocator that allows an external listener to audit the memory allocations.
More...
#include <PxBroadcastingAllocator.h>
Inheritance diagram for PxBroadcastingAllocator:

Collaboration diagram for PxBroadcastingAllocator:

Public Member Functions | |
virtual void | registerAllocationListener (PxAllocationListener &inListener)=0 |
Register an allocation listener. This object will be notified whenever an allocation happens. | |
virtual void | deregisterAllocationListener (PxAllocationListener &inListener)=0 |
Deregister an allocation listener. This object will no longer receive notifications upon allocation. | |
Protected Member Functions | |
virtual | ~PxBroadcastingAllocator () |
Detailed Description
Abstract base class for an application defined memory allocator that allows an external listener to audit the memory allocations.Threading: Register/deregister are *not* threadsafe!!! You need to be sure multiple threads are using this allocator when you are adding new listeners.
Constructor & Destructor Documentation
virtual PxBroadcastingAllocator::~PxBroadcastingAllocator | ( | ) | [inline, protected, virtual] |
Member Function Documentation
virtual void PxBroadcastingAllocator::deregisterAllocationListener | ( | PxAllocationListener & | inListener | ) | [pure virtual] |
Deregister an allocation listener. This object will no longer receive notifications upon allocation.
Threading:Not threadsafe if you are allocating and deallocating in another thread using this allocator.
virtual void PxBroadcastingAllocator::registerAllocationListener | ( | PxAllocationListener & | inListener | ) | [pure virtual] |
Register an allocation listener. This object will be notified whenever an allocation happens.
Threading:Not threadsafe if you are allocating and deallocating in another thread using this allocator.
The documentation for this class was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com