Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Friends
ON_FixedSizePool Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_fsp.h>

+ Inheritance diagram for ON_FixedSizePool:

Public Member Functions

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

Friends

class ON_FixedSizePoolIterator
 

Detailed Description

Definition at line 19 of file opennurbs_fsp.h.

Constructor & Destructor Documentation

◆ ON_FixedSizePool()

ON_FixedSizePool::ON_FixedSizePool ( )

◆ ~ON_FixedSizePool()

ON_FixedSizePool::~ON_FixedSizePool ( )

Member Function Documentation

◆ ActiveElementCount()

std::size_t ON_FixedSizePool::ActiveElementCount ( ) const

◆ AllocateElement()

void* ON_FixedSizePool::AllocateElement ( )

◆ Create()

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

◆ Destroy()

void ON_FixedSizePool::Destroy ( )

◆ Element()

void* ON_FixedSizePool::Element ( std::size_t  element_index) const

◆ EmergencyDestroy()

void ON_FixedSizePool::EmergencyDestroy ( )

◆ FirstBlock()

void* ON_FixedSizePool::FirstBlock ( std::size_t *  block_element_count)

◆ FirstElement() [1/2]

void* ON_FixedSizePool::FirstElement ( )

◆ FirstElement() [2/2]

void* ON_FixedSizePool::FirstElement ( std::size_t  element_index)

◆ Heap()

ON_MEMORY_POOL* ON_FixedSizePool::Heap ( )

◆ NextBlock()

void* ON_FixedSizePool::NextBlock ( std::size_t *  block_element_count)

◆ NextElement()

void* ON_FixedSizePool::NextElement ( )

◆ ReturnAll()

void ON_FixedSizePool::ReturnAll ( )

◆ ReturnElement()

void ON_FixedSizePool::ReturnElement ( void *  p)

◆ SetHeap()

void ON_FixedSizePool::SetHeap ( ON_MEMORY_POOL *  heap)

◆ SizeofElement()

std::size_t ON_FixedSizePool::SizeofElement ( ) const

◆ TotalElementCount()

std::size_t ON_FixedSizePool::TotalElementCount ( ) const

Friends And Related Function Documentation

◆ ON_FixedSizePoolIterator

friend class ON_FixedSizePoolIterator
friend

Definition at line 329 of file opennurbs_fsp.h.


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