DFace C++ SDK  2.5.2
dface::PoolAllocator类 参考

#include <allocator.h>

类 dface::PoolAllocator 继承关系图:
dface::PoolAllocator 的协作图:

Public 成员函数

 PoolAllocator ()
 
 ~PoolAllocator ()
 
void set_size_compare_ratio (float scr)
 
void clear ()
 
void * fastMalloc (size_t size)
 
void fastFree (void *ptr)
 

构造及析构函数说明

◆ PoolAllocator()

dface::PoolAllocator::PoolAllocator ( )
inline

◆ ~PoolAllocator()

dface::PoolAllocator::~PoolAllocator ( )
inline

成员函数说明

◆ clear()

void dface::PoolAllocator::clear ( )
inline

◆ fastFree()

void dface::PoolAllocator::fastFree ( void *  ptr)
inlinevirtual

实现了 dface::Allocator.

◆ fastMalloc()

void* dface::PoolAllocator::fastMalloc ( size_t  size)
inlinevirtual

实现了 dface::Allocator.

◆ set_size_compare_ratio()

void dface::PoolAllocator::set_size_compare_ratio ( float  scr)
inline

该类的文档由以下文件生成: