Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
tinyxml2::MemPoolT< ITEM_SIZE > Class Template Reference

#include <tinyxml2.h>

Inheritance diagram for tinyxml2::MemPoolT< ITEM_SIZE >:
Inheritance graph
[legend]

List of all members.

Classes

struct  Block
union  Item

Public Types

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

Public Member Functions

virtual void * Alloc ()
void Clear ()
int CurrentAllocs () const
virtual void Free (void *mem)
virtual int ItemSize () const
 MemPoolT ()
void SetTracked ()
void Trace (const char *name)
int Untracked () const
 ~MemPoolT ()

Private Member Functions

 MemPoolT (const MemPoolT &)
void operator= (const MemPoolT &)

Private Attributes

DynArray< Block *, 10 > _blockPtrs
int _currentAllocs
int _maxAllocs
int _nAllocs
int _nUntracked
Item_root

Detailed Description

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

Definition at line 337 of file tinyxml2.h.


Member Enumeration Documentation

template<int ITEM_SIZE>
anonymous enum
Enumerator:
ITEMS_PER_BLOCK 

Definition at line 428 of file tinyxml2.h.


Constructor & Destructor Documentation

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

Definition at line 340 of file tinyxml2.h.

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

Definition at line 341 of file tinyxml2.h.

template<int ITEM_SIZE>
tinyxml2::MemPoolT< ITEM_SIZE >::MemPoolT ( const MemPoolT< ITEM_SIZE > &  ) [private]

Member Function Documentation

template<int ITEM_SIZE>
virtual void* tinyxml2::MemPoolT< ITEM_SIZE >::Alloc ( ) [inline, virtual]

Implements tinyxml2::MemPool.

Definition at line 365 of file tinyxml2.h.

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::Clear ( ) [inline, virtual]

Implements tinyxml2::MemPool.

Definition at line 345 of file tinyxml2.h.

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

Definition at line 361 of file tinyxml2.h.

template<int ITEM_SIZE>
virtual void tinyxml2::MemPoolT< ITEM_SIZE >::Free ( void *  mem) [inline, virtual]

Implements tinyxml2::MemPool.

Definition at line 391 of file tinyxml2.h.

template<int ITEM_SIZE>
virtual int tinyxml2::MemPoolT< ITEM_SIZE >::ItemSize ( ) const [inline, virtual]

Implements tinyxml2::MemPool.

Definition at line 358 of file tinyxml2.h.

template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::operator= ( const MemPoolT< ITEM_SIZE > &  ) [private]
template<int ITEM_SIZE>
void tinyxml2::MemPoolT< ITEM_SIZE >::SetTracked ( ) [inline, virtual]

Implements tinyxml2::MemPool.

Definition at line 409 of file tinyxml2.h.

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

Definition at line 403 of file tinyxml2.h.

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

Definition at line 413 of file tinyxml2.h.


Member Data Documentation

template<int ITEM_SIZE>
DynArray< Block*, 10 > tinyxml2::MemPoolT< ITEM_SIZE >::_blockPtrs [private]

Definition at line 441 of file tinyxml2.h.

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::_currentAllocs [private]

Definition at line 444 of file tinyxml2.h.

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::_maxAllocs [private]

Definition at line 446 of file tinyxml2.h.

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::_nAllocs [private]

Definition at line 445 of file tinyxml2.h.

template<int ITEM_SIZE>
int tinyxml2::MemPoolT< ITEM_SIZE >::_nUntracked [private]

Definition at line 447 of file tinyxml2.h.

template<int ITEM_SIZE>
Item* tinyxml2::MemPoolT< ITEM_SIZE >::_root [private]

Definition at line 442 of file tinyxml2.h.


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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 03:50:11