dl
dl::ObjectPool< T > 模板类 参考

对象池 更多...

#include <dl_object_pool.h>

Public 成员函数

size_t GetFree ()
 
void Release (size_t index)
 
Toperator[] (size_t index)
 
std::vector< T > & data ()
 

详细描述

template<typename T>
class dl::ObjectPool< T >

对象池

在文件 dl_object_pool.h22 行定义.

成员函数说明

◆ data()

template<typename T>
std::vector< T > & dl::ObjectPool< T >::data ( )
inline

在文件 dl_object_pool.h57 行定义.

◆ GetFree()

template<typename T>
size_t dl::ObjectPool< T >::GetFree ( )
inline

在文件 dl_object_pool.h26 行定义.

◆ operator[]()

template<typename T>
T & dl::ObjectPool< T >::operator[] ( size_t index)
inline

在文件 dl_object_pool.h51 行定义.

◆ Release()

template<typename T>
void dl::ObjectPool< T >::Release ( size_t index)
inline

在文件 dl_object_pool.h42 行定义.


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