gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
bezierCoeffMemoryPool Class Reference

#include <bezierBasis.h>

Public Member Functions

 bezierCoeffMemoryPool ()
 
 ~bezierCoeffMemoryPool ()
 
void setSizeBlocks (std::size_t size)
 
double * giveBlock (bezierCoeff *bez)
 
void releaseBlock (double *block, bezierCoeff *bez)
 
void freeMemory ()
 

Private Member Functions

void _checkEnoughMemory ()
 

Private Attributes

std::vector< double > _memory
 
std::size_t _sizeBlocks
 
std::size_t _numUsedBlocks
 
std::size_t _currentIndexOfSearch
 
std::size_t _endOfSearch
 
std::vector< bezierCoeff * > _bezierCoeff
 

Detailed Description

Definition at line 99 of file bezierBasis.h.

Constructor & Destructor Documentation

◆ bezierCoeffMemoryPool()

bezierCoeffMemoryPool::bezierCoeffMemoryPool ( )

Definition at line 1454 of file bezierBasis.cpp.

◆ ~bezierCoeffMemoryPool()

bezierCoeffMemoryPool::~bezierCoeffMemoryPool ( )
inline

Definition at line 114 of file bezierBasis.h.

Member Function Documentation

◆ _checkEnoughMemory()

void bezierCoeffMemoryPool::_checkEnoughMemory ( )
private

Definition at line 1544 of file bezierBasis.cpp.

Referenced by giveBlock().

Here is the caller graph for this function:

◆ freeMemory()

void bezierCoeffMemoryPool::freeMemory ( )

Definition at line 1533 of file bezierBasis.cpp.

Here is the call graph for this function:

◆ giveBlock()

double * bezierCoeffMemoryPool::giveBlock ( bezierCoeff bez)

Definition at line 1475 of file bezierBasis.cpp.

Referenced by bezierCoeff::bezierCoeff().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ releaseBlock()

void bezierCoeffMemoryPool::releaseBlock ( double *  block,
bezierCoeff bez 
)

Definition at line 1514 of file bezierBasis.cpp.

Referenced by bezierCoeff::~bezierCoeff().

Here is the caller graph for this function:

◆ setSizeBlocks()

void bezierCoeffMemoryPool::setSizeBlocks ( std::size_t  size)

Definition at line 1462 of file bezierBasis.cpp.

Referenced by bezierCoeff::usePools().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _bezierCoeff

std::vector<bezierCoeff *> bezierCoeffMemoryPool::_bezierCoeff
private

Definition at line 110 of file bezierBasis.h.

Referenced by _checkEnoughMemory(), giveBlock(), and releaseBlock().

◆ _currentIndexOfSearch

std::size_t bezierCoeffMemoryPool::_currentIndexOfSearch
private

Definition at line 106 of file bezierBasis.h.

Referenced by bezierCoeffMemoryPool(), giveBlock(), releaseBlock(), and setSizeBlocks().

◆ _endOfSearch

std::size_t bezierCoeffMemoryPool::_endOfSearch
private

Definition at line 107 of file bezierBasis.h.

Referenced by bezierCoeffMemoryPool(), giveBlock(), releaseBlock(), and setSizeBlocks().

◆ _memory

std::vector<double> bezierCoeffMemoryPool::_memory
private

Definition at line 103 of file bezierBasis.h.

Referenced by _checkEnoughMemory(), freeMemory(), giveBlock(), and releaseBlock().

◆ _numUsedBlocks

std::size_t bezierCoeffMemoryPool::_numUsedBlocks
private

◆ _sizeBlocks

std::size_t bezierCoeffMemoryPool::_sizeBlocks
private

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