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

#include <tinyxml2.h>

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

List of all members.

Classes

struct  Block
union  Chunk

Public Types

enum  { COUNT = (4*1024)/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
Chunk_root

Detailed Description

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

Definition at line 316 of file tinyxml2.h.


Member Enumeration Documentation

template<int SIZE>
anonymous enum
Enumerator:
COUNT 

Definition at line 402 of file tinyxml2.h.


Constructor & Destructor Documentation

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

Definition at line 319 of file tinyxml2.h.

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

Definition at line 320 of file tinyxml2.h.

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

Member Function Documentation

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

Implements tinyxml2::MemPool.

Definition at line 344 of file tinyxml2.h.

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

Implements tinyxml2::MemPool.

Definition at line 324 of file tinyxml2.h.

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

Definition at line 340 of file tinyxml2.h.

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

Implements tinyxml2::MemPool.

Definition at line 368 of file tinyxml2.h.

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

Implements tinyxml2::MemPool.

Definition at line 337 of file tinyxml2.h.

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

Implements tinyxml2::MemPool.

Definition at line 385 of file tinyxml2.h.

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

Definition at line 380 of file tinyxml2.h.

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

Definition at line 389 of file tinyxml2.h.


Member Data Documentation

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

Definition at line 415 of file tinyxml2.h.

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

Definition at line 418 of file tinyxml2.h.

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

Definition at line 420 of file tinyxml2.h.

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

Definition at line 419 of file tinyxml2.h.

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

Definition at line 421 of file tinyxml2.h.

template<int SIZE>
Chunk* tinyxml2::MemPoolT< SIZE >::_root [private]

Definition at line 416 of file tinyxml2.h.


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


denso_robot_core
Author(s): DENSO WAVE INCORPORATED
autogenerated on Thu Jun 6 2019 21:00:11