FST  openfst-1.7.1
OpenFst Library
Public Member Functions | List of all members
fst::MemoryPoolCollection Class Reference

#include <memory.h>

Public Member Functions

 MemoryPoolCollection (size_t pool_size=kAllocSize)
 
template<typename T >
MemoryPool< T > * Pool ()
 
size_t PoolSize () const
 
size_t RefCount () const
 
size_t IncrRefCount ()
 
size_t DecrRefCount ()
 

Detailed Description

Definition at line 189 of file memory.h.

Constructor & Destructor Documentation

fst::MemoryPoolCollection::MemoryPoolCollection ( size_t  pool_size = kAllocSize)
inlineexplicit

Definition at line 192 of file memory.h.

Member Function Documentation

size_t fst::MemoryPoolCollection::DecrRefCount ( )
inline

Definition at line 212 of file memory.h.

size_t fst::MemoryPoolCollection::IncrRefCount ( )
inline

Definition at line 210 of file memory.h.

template<typename T >
MemoryPool<T>* fst::MemoryPoolCollection::Pool ( )
inline

Definition at line 196 of file memory.h.

size_t fst::MemoryPoolCollection::PoolSize ( ) const
inline

Definition at line 206 of file memory.h.

size_t fst::MemoryPoolCollection::RefCount ( ) const
inline

Definition at line 208 of file memory.h.


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