Public Types | |
enum | { kPoolSize = kManagedPointerPoolSize, kDeadPointer = 0xdeadbea7 } |
Public Member Functions | |
ManagedPointerEntry * | allocEntry (ManagedType *pPointer) |
ManagedPointerEntry * | findEntry (const ManagedType *pPointer) |
void | freeEntry (ManagedPointerEntry *pEntry) |
uint32_t | getNumAllocated () const |
uint32_t | getNumFree () const |
ManagedPointerPool () | |
Public Attributes | |
ManagedPointerEntry | m_aEntryPool [kPoolSize] |
uint32_t | m_uiNextFree |
uint32_t | m_uiNumAllocated |
Definition at line 645 of file LeapUtil.h.
anonymous enum |
Definition at line 647 of file LeapUtil.h.
LeapUtil::SmartPointer< T, Destructor, ManagedPointerPoolSize >::ManagedPointerPool::ManagedPointerPool | ( | ) | [inline] |
Definition at line 649 of file LeapUtil.h.
ManagedPointerEntry* LeapUtil::SmartPointer< T, Destructor, ManagedPointerPoolSize >::ManagedPointerPool::allocEntry | ( | ManagedType * | pPointer | ) | [inline] |
Definition at line 661 of file LeapUtil.h.
ManagedPointerEntry* LeapUtil::SmartPointer< T, Destructor, ManagedPointerPoolSize >::ManagedPointerPool::findEntry | ( | const ManagedType * | pPointer | ) | [inline] |
Definition at line 723 of file LeapUtil.h.
void LeapUtil::SmartPointer< T, Destructor, ManagedPointerPoolSize >::ManagedPointerPool::freeEntry | ( | ManagedPointerEntry * | pEntry | ) | [inline] |
Definition at line 699 of file LeapUtil.h.
uint32_t LeapUtil::SmartPointer< T, Destructor, ManagedPointerPoolSize >::ManagedPointerPool::getNumAllocated | ( | ) | const [inline] |
Definition at line 751 of file LeapUtil.h.
uint32_t LeapUtil::SmartPointer< T, Destructor, ManagedPointerPoolSize >::ManagedPointerPool::getNumFree | ( | ) | const [inline] |
Definition at line 754 of file LeapUtil.h.
ManagedPointerEntry LeapUtil::SmartPointer< T, Destructor, ManagedPointerPoolSize >::ManagedPointerPool::m_aEntryPool[kPoolSize] |
Definition at line 757 of file LeapUtil.h.
uint32_t LeapUtil::SmartPointer< T, Destructor, ManagedPointerPoolSize >::ManagedPointerPool::m_uiNextFree |
Definition at line 760 of file LeapUtil.h.
uint32_t LeapUtil::SmartPointer< T, Destructor, ManagedPointerPoolSize >::ManagedPointerPool::m_uiNumAllocated |
Definition at line 763 of file LeapUtil.h.