DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::ObjectPool< T >::Pool Struct Reference

Internal storage shared among all handles. More...

#include <ObjectPool.hpp>

Collaboration diagram for DNDS::ObjectPool< T >::Pool:
[legend]

Public Member Functions

void recycle (uPtrResource p)
 Push an object back onto the free-list.
 

Public Attributes

std::vector< uPtrResource_pool
 

Detailed Description

template<class T = int>
struct DNDS::ObjectPool< T >::Pool

Internal storage shared among all handles.

Definition at line 37 of file ObjectPool.hpp.

Member Function Documentation

◆ recycle()

template<class T = int>
void DNDS::ObjectPool< T >::Pool::recycle ( uPtrResource  p)
inline

Push an object back onto the free-list.

Definition at line 41 of file ObjectPool.hpp.

Member Data Documentation

◆ _pool

template<class T = int>
std::vector<uPtrResource> DNDS::ObjectPool< T >::Pool::_pool

Definition at line 39 of file ObjectPool.hpp.


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