Public Member Functions | Private Member Functions | Private Attributes | Friends
ON_FixedSizePool Class Reference

#include <opennurbs_fsp.h>

Inheritance diagram for ON_FixedSizePool:
Inheritance graph
[legend]

List of all members.

Public Member Functions

size_t ActiveElementCount () const
void * AllocateElement ()
bool Create (size_t sizeof_element, size_t element_count_estimate, size_t block_element_capacity)
void Destroy ()
void * Element (size_t element_index) const
void EmergencyDestroy ()
void * FirstBlock (size_t *block_element_count)
void * FirstElement ()
void * FirstElement (size_t element_index)
ON_MEMORY_POOLHeap ()
void * NextBlock (size_t *block_element_count)
void * NextElement ()
 ON_FixedSizePool ()
void ReturnAll ()
void ReturnElement (void *p)
void SetHeap (ON_MEMORY_POOL *heap)
size_t SizeofElement () const
size_t TotalElementCount () const
 ~ON_FixedSizePool ()

Private Member Functions

size_t BlockElementCapacity (const void *block) const
size_t BlockElementCount (const void *block) const
 ON_FixedSizePool (const ON_FixedSizePool &)
ON_FixedSizePooloperator= (const ON_FixedSizePool &)

Private Attributes

size_t m_active_element_count
void * m_al_block
size_t m_al_count
void * m_al_element_array
void * m_al_element_stack
size_t m_block_element_count
void * m_first_block
ON_MEMORY_POOLm_heap
void * m_qwerty_it_block
void * m_qwerty_it_element
size_t m_sizeof_element
size_t m_total_element_count

Friends

class ON_FixedSizePoolIterator

Detailed Description

Definition at line 19 of file opennurbs_fsp.h.


Constructor & Destructor Documentation

Definition at line 3 of file opennurbs_fsp.cpp.

Definition at line 8 of file opennurbs_fsp.cpp.


Member Function Documentation

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 133 of file opennurbs_fsp.cpp.

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 143 of file opennurbs_fsp.cpp.

size_t ON_FixedSizePool::BlockElementCapacity ( const void *  block) const [private]

Definition at line 407 of file opennurbs_fsp.cpp.

size_t ON_FixedSizePool::BlockElementCount ( const void *  block) const [private]

Definition at line 416 of file opennurbs_fsp.cpp.

bool ON_FixedSizePool::Create ( size_t  sizeof_element,
size_t  element_count_estimate,
size_t  block_element_capacity 
)

Definition at line 19 of file opennurbs_fsp.cpp.

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 105 of file opennurbs_fsp.cpp.

void * ON_FixedSizePool::Element ( size_t  element_index) const

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 527 of file opennurbs_fsp.cpp.

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 118 of file opennurbs_fsp.cpp.

void * ON_FixedSizePool::FirstBlock ( size_t *  block_element_count)

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 427 of file opennurbs_fsp.cpp.

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 251 of file opennurbs_fsp.cpp.

void * ON_FixedSizePool::FirstElement ( size_t  element_index)

Definition at line 335 of file opennurbs_fsp.cpp.

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 128 of file opennurbs_fsp.cpp.

void * ON_FixedSizePool::NextBlock ( size_t *  block_element_count)

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 465 of file opennurbs_fsp.cpp.

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 281 of file opennurbs_fsp.cpp.

ON_FixedSizePool& ON_FixedSizePool::operator= ( const ON_FixedSizePool ) [private]

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 89 of file opennurbs_fsp.cpp.

void ON_FixedSizePool::ReturnElement ( void *  p)

Definition at line 223 of file opennurbs_fsp.cpp.

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 123 of file opennurbs_fsp.cpp.

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 13 of file opennurbs_fsp.cpp.

Reimplemented in ON_SimpleFixedSizePool< T >.

Definition at line 138 of file opennurbs_fsp.cpp.


Friends And Related Function Documentation

friend class ON_FixedSizePoolIterator [friend]

Definition at line 329 of file opennurbs_fsp.h.


Member Data Documentation

Definition at line 347 of file opennurbs_fsp.h.

Definition at line 341 of file opennurbs_fsp.h.

size_t ON_FixedSizePool::m_al_count [private]

Definition at line 344 of file opennurbs_fsp.h.

Definition at line 343 of file opennurbs_fsp.h.

Definition at line 335 of file opennurbs_fsp.h.

Definition at line 346 of file opennurbs_fsp.h.

Definition at line 331 of file opennurbs_fsp.h.

Definition at line 349 of file opennurbs_fsp.h.

Definition at line 338 of file opennurbs_fsp.h.

Definition at line 339 of file opennurbs_fsp.h.

Definition at line 345 of file opennurbs_fsp.h.

Definition at line 348 of file opennurbs_fsp.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:51