Pol
Revision:cb584c9
|
#include <fsa.h>
Classes | |
struct | FSA_ELEMENT |
Public Types | |
enum | { FSA_DEFAULT_SIZE = 100 } |
Public Member Functions | |
FixedSizeAllocator (size_t MaxElements=FSA_DEFAULT_SIZE) | |
~FixedSizeAllocator () | |
USER_TYPE * | alloc () |
void | Debug () |
void | free (USER_TYPE *user_data) |
USER_TYPE * | GetFirst () |
USER_TYPE * | GetNext (USER_TYPE *node) |
Private Attributes | |
size_t | m_MaxElements |
FSA_ELEMENT * | m_pFirstFree |
FSA_ELEMENT * | m_pFirstUsed |
FSA_ELEMENT * | m_pMemory |
anonymous enum |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 219 of file fsa.h.
Referenced by Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::FixedSizeAllocator().
|
private |
Definition at line 217 of file fsa.h.
Referenced by Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::alloc(), Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::Debug(), Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::FixedSizeAllocator(), and Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::free().
|
private |
Definition at line 218 of file fsa.h.
Referenced by Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::alloc(), Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::Debug(), Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::free(), and Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::GetFirst().
|
private |
Definition at line 220 of file fsa.h.
Referenced by Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::FixedSizeAllocator(), and Pol::Plib::FixedSizeAllocator< Pol::Plib::AStarSearch::Node >::~FixedSizeAllocator().