Public Member Functions | Private Attributes

A class for generating the glue code for interfacing qpOASES. More...

#include <export_qpoases_interface.hpp>

List of all members.

Public Member Functions

returnValue configure (const std::string &_prefix, const std::string &_solverDefine, const int nvmax, const int ncmax, const int nwsrmax, const std::string &_printLevel, bool _useSinglePrecision, const std::string &_commonHeader, const std::string &_namespace, const std::string &_primalSolution, const std::string &_dualSolution, const std::string &_sigma, bool _hotstartQP, bool _externalCholesky, const std::string &_qpH, const std::string &_qpR, const std::string &_qpg, const std::string &_qpA, const std::string &_qplb, const std::string &_qpub, const std::string &_qplbA, const std::string &_qpubA)
returnValue exportCode ()
 ExportQpOasesInterface (const std::string &_headerFileName, const std::string &_sourceFileName, 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 ~ExportQpOasesInterface ()

Private Attributes

ExportTemplatedFile qpoHeader
ExportTemplatedFile qpoSource

Detailed Description

A class for generating the glue code for interfacing qpOASES.

Author:
Milan Vukov
Note:
Based on code originally developed by Hans Joachim Ferreau and Boris Houska.

Definition at line 48 of file export_qpoases_interface.hpp.


Constructor & Destructor Documentation

BEGIN_NAMESPACE_ACADO ExportQpOasesInterface::ExportQpOasesInterface ( const std::string &  _headerFileName,
const std::string &  _sourceFileName,
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.

Parameters:
[in]_headerFileNameName of exported file for header file.
[in]_sourceFileNameName of exported file for source file.
[in]_commonHeaderNameName of common header file to be included.
[in]_realStringstd::string to be used to declare real variables.
[in]_intStringstd::string to be used to declare integer variables.
[in]_precisionNumber of digits to be used for exporting real values.
[in]_commentStringstd::string to be used for exporting comments.
Returns:
SUCCESSFUL_RETURN

Definition at line 40 of file export_qpoases_interface.cpp.

virtual ExportQpOasesInterface::~ExportQpOasesInterface ( ) [inline, virtual]

Destructor.

Definition at line 74 of file export_qpoases_interface.hpp.


Member Function Documentation

returnValue ExportQpOasesInterface::configure ( const std::string &  _prefix,
const std::string &  _solverDefine,
const int  nvmax,
const int  ncmax,
const int  nwsrmax,
const std::string &  _printLevel,
bool  _useSinglePrecision,
const std::string &  _commonHeader,
const std::string &  _namespace,
const std::string &  _primalSolution,
const std::string &  _dualSolution,
const std::string &  _sigma,
bool  _hotstartQP,
bool  _externalCholesky,
const std::string &  _qpH,
const std::string &  _qpR,
const std::string &  _qpg,
const std::string &  _qpA,
const std::string &  _qplb,
const std::string &  _qpub,
const std::string &  _qplbA,
const std::string &  _qpubA 
)

Configure the template

Returns:
SUCCESSFUL_RETURN

Definition at line 53 of file export_qpoases_interface.cpp.

Export the interface.

Definition at line 164 of file export_qpoases_interface.cpp.


Member Data Documentation

Definition at line 111 of file export_qpoases_interface.hpp.

Definition at line 112 of file export_qpoases_interface.hpp.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:38