Openholo  v5.0
Open Source Digital Holographic Library
tinyxml2::MemPoolT< ITEM_SIZE > Class Template Reference

#include <tinyxml2.h>

Inheritance diagram for tinyxml2::MemPoolT< ITEM_SIZE >:
Collaboration diagram for tinyxml2::MemPoolT< ITEM_SIZE >:

Public Types

enum  { ITEMS_PER_BLOCK = (4 * 1024) / ITEM_SIZE }
 
enum  { ITEMS_PER_BLOCK = (4 * 1024) / ITEM_SIZE }
 
enum  { ITEMS_PER_BLOCK = (4 * 1024) / ITEM_SIZE }
 

Public Member Functions

 MemPoolT ()
 
 ~MemPoolT ()
 
void Clear ()
 
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
 
 MemPoolT ()
 
 ~MemPoolT ()
 
void Clear ()
 
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
 
 MemPoolT ()
 
 ~MemPoolT ()
 
void Clear ()
 
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 tinyxml2::MemPool
 MemPool ()
 
virtual ~MemPool ()
 
 MemPool ()
 
virtual ~MemPool ()
 
 MemPool ()
 
virtual ~MemPool ()
 

Detailed Description

template<int ITEM_SIZE>
class tinyxml2::MemPoolT< ITEM_SIZE >

Definition at line 345 of file tinyxml2.h.

Member Enumeration Documentation

◆ anonymous enum

template<int ITEM_SIZE>
anonymous enum
Enumerator
ITEMS_PER_BLOCK 

Definition at line 436 of file tinyxml2.h.

◆ anonymous enum

template<int ITEM_SIZE>
anonymous enum
Enumerator
ITEMS_PER_BLOCK 

Definition at line 436 of file tinyxml2.h.

◆ anonymous enum

template<int ITEM_SIZE>
anonymous enum
Enumerator
ITEMS_PER_BLOCK 

Definition at line 436 of file tinyxml2.h.

Constructor & Destructor Documentation

◆ MemPoolT() [1/3]

template<int ITEM_SIZE>
tinyxml2::MemPoolT< ITEM_SIZE >::MemPoolT ( )
inline

Definition at line 348 of file tinyxml2.h.

◆ ~MemPoolT() [1/3]

template<int ITEM_SIZE>
tinyxml2::MemPoolT< ITEM_SIZE >::~MemPoolT ( )
inline

Definition at line 349 of file tinyxml2.h.

◆ MemPoolT() [2/3]

template<int ITEM_SIZE>
tinyxml2::MemPoolT< ITEM_SIZE >::MemPoolT ( )
inline

Definition at line 348 of file tinyxml2.h.

◆ ~MemPoolT() [2/3]

template<int ITEM_SIZE>
tinyxml2::MemPoolT< ITEM_SIZE >::~MemPoolT ( )
inline

Definition at line 349 of file tinyxml2.h.

◆ MemPoolT() [3/3]

template<int ITEM_SIZE>
tinyxml2::MemPoolT< ITEM_SIZE >::MemPoolT ( )
inline

Definition at line 348 of file tinyxml2.h.

◆ ~MemPoolT() [3/3]

template<int ITEM_SIZE>
tinyxml2::MemPoolT< ITEM_SIZE >::~MemPoolT ( )
inline

Definition at line 349 of file tinyxml2.h.

Member Function Documentation

◆ Alloc() [1/3]

template<int ITEM_SIZE>
virtual void* tinyxml2::MemPoolT< ITEM_SIZE >::Alloc ( )
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 373 of file tinyxml2.h.

◆ Alloc() [2/3]

template<int ITEM_SIZE>
virtual void* tinyxml2::MemPoolT< ITEM_SIZE >::Alloc ( )
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 373 of file tinyxml2.h.

◆ Alloc() [3/3]

template<int ITEM_SIZE>
virtual void* tinyxml2::MemPoolT< ITEM_SIZE >::Alloc ( )
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 373 of file tinyxml2.h.

◆ Clear() [1/3]

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::Clear ( )
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 353 of file tinyxml2.h.

◆ Clear() [2/3]

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::Clear ( )
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 353 of file tinyxml2.h.

◆ Clear() [3/3]

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::Clear ( )
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 353 of file tinyxml2.h.

◆ CurrentAllocs() [1/3]

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::CurrentAllocs ( ) const
inline

Definition at line 369 of file tinyxml2.h.

◆ CurrentAllocs() [2/3]

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::CurrentAllocs ( ) const
inline

Definition at line 369 of file tinyxml2.h.

◆ CurrentAllocs() [3/3]

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::CurrentAllocs ( ) const
inline

Definition at line 369 of file tinyxml2.h.

◆ Free() [1/3]

template<int ITEM_SIZE>
virtual void tinyxml2::MemPoolT< ITEM_SIZE >::Free ( void *  mem)
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 399 of file tinyxml2.h.

◆ Free() [2/3]

template<int ITEM_SIZE>
virtual void tinyxml2::MemPoolT< ITEM_SIZE >::Free ( void *  mem)
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 399 of file tinyxml2.h.

◆ Free() [3/3]

template<int ITEM_SIZE>
virtual void tinyxml2::MemPoolT< ITEM_SIZE >::Free ( void *  mem)
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 399 of file tinyxml2.h.

◆ ItemSize() [1/3]

template<int ITEM_SIZE>
virtual int tinyxml2::MemPoolT< ITEM_SIZE >::ItemSize ( ) const
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 366 of file tinyxml2.h.

◆ ItemSize() [2/3]

template<int ITEM_SIZE>
virtual int tinyxml2::MemPoolT< ITEM_SIZE >::ItemSize ( ) const
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 366 of file tinyxml2.h.

◆ ItemSize() [3/3]

template<int ITEM_SIZE>
virtual int tinyxml2::MemPoolT< ITEM_SIZE >::ItemSize ( ) const
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 366 of file tinyxml2.h.

◆ SetTracked() [1/3]

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::SetTracked ( )
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 417 of file tinyxml2.h.

◆ SetTracked() [2/3]

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::SetTracked ( )
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 417 of file tinyxml2.h.

◆ SetTracked() [3/3]

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::SetTracked ( )
inlinevirtual

Implements tinyxml2::MemPool.

Definition at line 417 of file tinyxml2.h.

◆ Trace() [1/3]

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::Trace ( const char *  name)
inline

Definition at line 411 of file tinyxml2.h.

◆ Trace() [2/3]

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::Trace ( const char *  name)
inline

Definition at line 411 of file tinyxml2.h.

◆ Trace() [3/3]

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::Trace ( const char *  name)
inline

Definition at line 411 of file tinyxml2.h.

◆ Untracked() [1/3]

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::Untracked ( ) const
inline

Definition at line 421 of file tinyxml2.h.

◆ Untracked() [2/3]

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::Untracked ( ) const
inline

Definition at line 421 of file tinyxml2.h.

◆ Untracked() [3/3]

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::Untracked ( ) const
inline

Definition at line 421 of file tinyxml2.h.


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