Public Member Functions | Private Attributes | List of all members
MemoryAllocator Class Reference

#include <memory_allocator.hpp>

Public Member Functions

returnValue acquire (ExportIndex &_obj)
 
returnValue add (const ExportIndex &_obj)
 
std::vector< ExportIndexgetPool (void)
 
 MemoryAllocator ()
 
returnValue release (const ExportIndex &_obj)
 
 ~MemoryAllocator ()
 

Private Attributes

ObjectPool< ExportIndex, ExportIndexComparatorindices
 

Detailed Description

Definition at line 41 of file memory_allocator.hpp.

Constructor & Destructor Documentation

MemoryAllocator::MemoryAllocator ( )
inline

Definition at line 44 of file memory_allocator.hpp.

MemoryAllocator::~MemoryAllocator ( )
inline

Definition at line 47 of file memory_allocator.hpp.

Member Function Documentation

BEGIN_NAMESPACE_ACADO returnValue MemoryAllocator::acquire ( ExportIndex _obj)

Definition at line 38 of file memory_allocator.cpp.

returnValue MemoryAllocator::add ( const ExportIndex _obj)

Definition at line 67 of file memory_allocator.cpp.

std::vector< ExportIndex > MemoryAllocator::getPool ( void  )

Definition at line 78 of file memory_allocator.cpp.

returnValue MemoryAllocator::release ( const ExportIndex _obj)

Definition at line 56 of file memory_allocator.cpp.

Member Data Documentation

ObjectPool<ExportIndex, ExportIndexComparator> MemoryAllocator::indices
private

Definition at line 59 of file memory_allocator.hpp.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:25