Jetson Inference
DNN Vision Library
tinyxml2::MemPoolT< ITEM_SIZE > Class Template Reference

#include <xml.h>

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

Public Types

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

Member Enumeration Documentation

◆ anonymous enum

template<int ITEM_SIZE>
anonymous enum
Enumerator
ITEMS_PER_BLOCK 

Constructor & Destructor Documentation

◆ MemPoolT()

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

◆ ~MemPoolT()

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

Member Function Documentation

◆ Alloc()

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

Implements tinyxml2::MemPool.

◆ Clear()

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

Implements tinyxml2::MemPool.

◆ CurrentAllocs()

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

◆ Free()

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

Implements tinyxml2::MemPool.

◆ ItemSize()

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

Implements tinyxml2::MemPool.

◆ SetTracked()

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

Implements tinyxml2::MemPool.

◆ Trace()

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

◆ Untracked()

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

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