A class for configuration and export for interface to the FORCES QP solver. More...
#include <export_forces_interface.hpp>
Public Member Functions | |
returnValue | configure (const std::string &_forcesHeader, const std::string &_forcesParams, const std::string &_forcesParamsObj, const std::string &_forcesOutput, const std::string &_forcesOutputObj, const std::string &_forcesInfo, const std::string &_forcesInfoObj) |
ExportForcesInterface (const std::string &_templateName, const std::string &_fileName, const std::string &_commonHeaderName="", const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16, const std::string &_commentString=std::string()) | |
virtual | ~ExportForcesInterface () |
A class for configuration and export for interface to the FORCES QP solver.
Definition at line 46 of file export_forces_interface.hpp.
BEGIN_NAMESPACE_ACADO ExportForcesInterface::ExportForcesInterface | ( | const std::string & | _templateName, |
const std::string & | _fileName, | ||
const std::string & | _commonHeaderName = "" , |
||
const std::string & | _realString = "real_t" , |
||
const std::string & | _intString = "int" , |
||
int | _precision = 16 , |
||
const std::string & | _commentString = std::string() |
||
) |
Default constructor.
[in] | _templateName | Name of a template. |
[in] | _fileName | Name of exported file. |
[in] | _commonHeaderName | Name of common header file to be included. |
[in] | _realString | std::string to be used to declare real variables. |
[in] | _intString | std::string to be used to declare integer variables. |
[in] | _precision | Number of digits to be used for exporting real values. |
[in] | _commentstd::string | std::string to be used for exporting comments. |
Definition at line 38 of file export_forces_interface.cpp.
virtual ExportForcesInterface::~ExportForcesInterface | ( | ) | [inline, virtual] |
Destructor.
Definition at line 72 of file export_forces_interface.hpp.
returnValue ExportForcesInterface::configure | ( | const std::string & | _forcesHeader, |
const std::string & | _forcesParams, | ||
const std::string & | _forcesParamsObj, | ||
const std::string & | _forcesOutput, | ||
const std::string & | _forcesOutputObj, | ||
const std::string & | _forcesInfo, | ||
const std::string & | _forcesInfoObj | ||
) |
Configure the template
Definition at line 48 of file export_forces_interface.cpp.