cocos2d-x  2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MemPoolT< SIZE > Class Template Reference

#include <tinyxml2.h>

Inheritance diagram for MemPoolT< SIZE >:
MemPool

Public Types

enum  { COUNT = 1024/SIZE }
 

Public Member Functions

 MemPoolT ()
 ~MemPoolT ()
virtual int ItemSize () const
int CurrentAllocs () const
virtual void * Alloc ()
local Alloc ()
virtual void Free (void *mem)
local Free ( local mem)
void Trace (const char *name)
void SetTracked ()
int Untracked () const
- Public Member Functions inherited from MemPool
 MemPool ()
virtual ~MemPool ()

Member Enumeration Documentation

anonymous enum
Enumerator
COUNT 
local enum
Enumerator
COUNT 

Constructor & Destructor Documentation

MemPoolT ( )
inline
local MemPoolT ( )
inline
~MemPoolT ( )
inline
local ~MemPoolT ( )
inline

Member Function Documentation

virtual void* Alloc ( )
inlinevirtual

Implements MemPool.

local Alloc ( )
inlinevirtual

Implements MemPool.

int CurrentAllocs ( ) const
inline
local CurrentAllocs ( )
inline
virtual void Free ( void *  mem)
inlinevirtual

Implements MemPool.

local Free ( local  mem)
inlinevirtual

Implements MemPool.

virtual int ItemSize ( ) const
inlinevirtual

Implements MemPool.

local ItemSize ( )
inlinevirtual

Implements MemPool.

void SetTracked ( )
inlinevirtual

Implements MemPool.

local SetTracked ( )
inlinevirtual

Implements MemPool.

void Trace ( const char *  name)
inline
local Trace ( local  name)
inline
int Untracked ( ) const
inline
local Untracked ( )
inline

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