Torque3D Documentation / _generateds / EngineCRuntimeObjectPool

EngineCRuntimeObjectPool

Engine/source/console/engineObject.h

Singleton class that uses the C runtime memory routines for allocating objects.

More...

Public Types

Protected Static Attributes

Public Static Functions

Return the singleton instance of this pool.

Public Functions

void *
allocateObject(U32 size TORQUE_TMM_ARGS_DECL)

Allocate a new object memory block of the given size.

Return the member for the object at the given address to the allocator for reuse.

Detailed Description

Singleton class that uses the C runtime memory routines for allocating objects.

Public Types

typedef IEngineObjectPool Parent 

Protected Static Attributes

EngineCRuntimeObjectPool smInstance 

Public Static Functions

instance()

Return the singleton instance of this pool.

Public Functions

allocateObject(U32 size TORQUE_TMM_ARGS_DECL)

Reimplemented from: IEngineObjectPool

freeObject(void * ptr)

Reimplemented from: IEngineObjectPool