Public Member Functions | List of all members

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

#include <export_qpoases3_interface.hpp>

Inheritance diagram for ExportQpOases3Interface:
Inheritance graph
[legend]

Public Member Functions

virtual 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)
 
virtual returnValue exportCode ()
 
 ExportQpOases3Interface (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 ~ExportQpOases3Interface ()
 
- Public Member Functions inherited from 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())
 
virtual ~ExportQpOasesInterface ()
 

Additional Inherited Members

- Protected Attributes inherited from ExportQpOasesInterface
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 49 of file export_qpoases3_interface.hpp.

Constructor & Destructor Documentation

BEGIN_NAMESPACE_ACADO ExportQpOases3Interface::ExportQpOases3Interface ( 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.

@param[in] _headerFileName          Name of exported file for header file.
@param[in] _sourceFileName          Name of exported file for source file.
@param[in] _commonHeaderName        Name of common header file to be included.
@param[in] _realString                      std::string to be used to declare real variables.
@param[in] _intString                       std::string to be used to declare integer variables.
@param[in] _precision                       Number of digits to be used for exporting real values.
@param[in] _commentString           std::string to be used for exporting comments.

\return SUCCESSFUL_RETURN

Definition at line 40 of file export_qpoases3_interface.cpp.

virtual ExportQpOases3Interface::~ExportQpOases3Interface ( )
inlinevirtual

Destructor.

Definition at line 75 of file export_qpoases3_interface.hpp.

Member Function Documentation

returnValue ExportQpOases3Interface::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 
)
virtual

Configure the template

Returns
SUCCESSFUL_RETURN

Reimplemented from ExportQpOasesInterface.

Definition at line 55 of file export_qpoases3_interface.cpp.

returnValue ExportQpOases3Interface::exportCode ( )
virtual

Export the interface.

Reimplemented from ExportQpOasesInterface.

Definition at line 200 of file export_qpoases3_interface.cpp.


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:24