ACADO Toolkit
1.2.0beta
Toolkit for Automatic Control and Dynamic Optimization
|
#include <memory_allocator.hpp>
Public Member Functions | |
MemoryAllocator () | |
~MemoryAllocator () | |
returnValue | acquire (ExportIndex &_obj) |
returnValue | release (const ExportIndex &_obj) |
returnValue | add (const ExportIndex &_obj) |
std::vector< ExportIndex > | getPool (void) |
MemoryAllocator::MemoryAllocator | ( | ) | [inline] |
MemoryAllocator::~MemoryAllocator | ( | ) | [inline] |
References SUCCESSFUL_RETURN.
returnValue MemoryAllocator::add | ( | const ExportIndex & | _obj | ) |
References ACADOERROR, ExportData::getFullName(), String::getName(), LOG, LVL_WARNING, RET_INVALID_ARGUMENTS, and SUCCESSFUL_RETURN.
std::vector< ExportIndex > MemoryAllocator::getPool | ( | void | ) |
returnValue MemoryAllocator::release | ( | const ExportIndex & | _obj | ) |
References ACADOERROR, ExportData::getFullName(), String::getName(), LOG, LVL_ERROR, RET_INVALID_ARGUMENTS, and SUCCESSFUL_RETURN.