cocos2d-x  3.0-alpha0
 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 ()
virtual void Free (void *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 

Constructor & Destructor Documentation

MemPoolT ( )
inline
~MemPoolT ( )
inline

Member Function Documentation

virtual void* Alloc ( )
inlinevirtual

Implements MemPool.

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

Implements MemPool.

virtual int ItemSize ( ) const
inlinevirtual

Implements MemPool.

void SetTracked ( )
inlinevirtual

Implements MemPool.

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

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