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

#include <tinyxml2.h>

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

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 ()
 
- Public Member Functions inherited from tinyxml2::MemPool
 MemPool ()
 
virtual ~MemPool ()
 

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 343 of file tinyxml2.h.

Member Enumeration Documentation

◆ anonymous enum

template<int SIZE>
anonymous enum
Enumerator
COUNT 

Definition at line 429 of file tinyxml2.h.

Constructor & Destructor Documentation

◆ MemPoolT() [1/2]

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

Definition at line 346 of file tinyxml2.h.

◆ ~MemPoolT()

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

Definition at line 347 of file tinyxml2.h.

◆ MemPoolT() [2/2]

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

Member Function Documentation

◆ Alloc()

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

Implements tinyxml2::MemPool.

Definition at line 371 of file tinyxml2.h.

◆ Clear()

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

Implements tinyxml2::MemPool.

Definition at line 351 of file tinyxml2.h.

◆ CurrentAllocs()

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

Definition at line 367 of file tinyxml2.h.

◆ Free()

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

Implements tinyxml2::MemPool.

Definition at line 395 of file tinyxml2.h.

◆ ItemSize()

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

Implements tinyxml2::MemPool.

Definition at line 364 of file tinyxml2.h.

◆ operator=()

template<int SIZE>
void tinyxml2::MemPoolT< SIZE >::operator= ( const MemPoolT< SIZE > &  )
private

◆ SetTracked()

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

Implements tinyxml2::MemPool.

Definition at line 412 of file tinyxml2.h.

◆ Trace()

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

Definition at line 407 of file tinyxml2.h.

◆ Untracked()

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

Definition at line 416 of file tinyxml2.h.

Member Data Documentation

◆ _blockPtrs

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

Definition at line 442 of file tinyxml2.h.

◆ _currentAllocs

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

Definition at line 445 of file tinyxml2.h.

◆ _maxAllocs

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

Definition at line 447 of file tinyxml2.h.

◆ _nAllocs

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

Definition at line 446 of file tinyxml2.h.

◆ _nUntracked

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

Definition at line 448 of file tinyxml2.h.

◆ _root

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

Definition at line 443 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 Sat Feb 18 2023 04:06:02