Public Member Functions

Centralized place to export the common header for a generated module. More...

#include <export_common_header.hpp>

Inheritance diagram for ExportCommonHeader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

returnValue configure (const std::string &_moduleName, bool _useSinglePrecision, QPSolverName _qpSolver, const std::map< std::string, std::pair< std::string, std::string > > &_options, const std::string &_variables, const std::string &_workspace, const std::string &_functions)
 ExportCommonHeader (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 ~ExportCommonHeader ()

Detailed Description

Centralized place to export the common header for a generated module.

Author:
Milan Vukov

Definition at line 46 of file export_common_header.hpp.


Constructor & Destructor Documentation

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

Parameters:
[in]_fileNameName of exported 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]_commentstd::stringstd::string to be used for exporting comments.
Returns:
SUCCESSFUL_RETURN

Definition at line 41 of file export_common_header.cpp.

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

Destructor.

Definition at line 69 of file export_common_header.hpp.


Member Function Documentation

returnValue ExportCommonHeader::configure ( const std::string &  _moduleName,
bool  _useSinglePrecision,
QPSolverName  _qpSolver,
const std::map< std::string, std::pair< std::string, std::string > > &  _options,
const std::string &  _variables,
const std::string &  _workspace,
const std::string &  _functions 
)

Configure the template

Returns:
SUCCESSFUL_RETURN

Definition at line 50 of file export_common_header.cpp.


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