PxReflectionAllocator

Defined in include/foundation/PxAllocator.h

template<typename T>
class PxReflectionAllocator

Allocator used to access the global PxAllocatorCallback instance using a static name derived from T.

Subclassed by PxMutexT< Alloc >, PxSListT< Alloc >, PxSyncT< Alloc >, PxThreadT< Alloc >

Public Functions

inline PxReflectionAllocator(const PxEMPTY)
inline PxReflectionAllocator(const char* = 0)
inline PxReflectionAllocator(const PxReflectionAllocator&)

Public Static Functions

static inline void *allocate(size_t size, const char *filename, int line, uint32_t *cookie = NULL)
static inline void deallocate(void *ptr, uint32_t *cookie = NULL)