FST  openfst-1.7.2
OpenFst Library
Public Member Functions | List of all members
fst::MemoryPool< T > Class Template Reference

#include <memory.h>

Inheritance diagram for fst::MemoryPool< T >:
Inheritance graph
Collaboration diagram for fst::MemoryPool< T >:
Collaboration graph

Public Member Functions

 MemoryPool (size_t pool_size=kAllocSize)
- Public Member Functions inherited from fst::internal::MemoryPoolImpl< sizeof(T)>
 MemoryPoolImpl (size_t pool_size)
void * Allocate ()
void Free (void *ptr)
size_t Size () const override
- Public Member Functions inherited from fst::MemoryPoolBase
virtual ~MemoryPoolBase ()

Additional Inherited Members

- Public Types inherited from fst::internal::MemoryPoolImpl< sizeof(T)>

Detailed Description

template<typename T>
class fst::MemoryPool< T >

Definition at line 149 of file memory.h.

Constructor & Destructor Documentation

template<typename T>
fst::MemoryPool< T >::MemoryPool ( size_t  pool_size = kAllocSize)

Definition at line 152 of file memory.h.

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