A class for generating some helper functions. More...
#include <export_auxiliary_sim_functions.hpp>
Public Member Functions | |
returnValue | configure () |
ExportAuxiliarySimFunctions (const std::string &_headerFileName, const std::string &_sourceFileName, const std::string &_moduleName="acado", const std::string &_modulePrefix="ACADO", const std::string &_commonHeaderName="", const std::string &_realString="double", const std::string &_intString="int", int _precision=16, const std::string &_commentString=std::string()) | |
returnValue | exportCode () |
virtual | ~ExportAuxiliarySimFunctions () |
Private Attributes | |
ExportTemplatedFile | header |
std::string | moduleName |
std::string | modulePrefix |
ExportTemplatedFile | source |
A class for generating some helper functions.
Definition at line 46 of file export_auxiliary_sim_functions.hpp.
BEGIN_NAMESPACE_ACADO ExportAuxiliarySimFunctions::ExportAuxiliarySimFunctions | ( | const std::string & | _headerFileName, |
const std::string & | _sourceFileName, | ||
const std::string & | _moduleName = "acado" , |
||
const std::string & | _modulePrefix = "ACADO" , |
||
const std::string & | _commonHeaderName = "" , |
||
const std::string & | _realString = "double" , |
||
const std::string & | _intString = "int" , |
||
int | _precision = 16 , |
||
const std::string & | _commentString = std::string() |
||
) |
Default constructor.
@param[in] _moduleName Module name for customization.
[in] | _modulePrefix | Module prefix for customization. |
[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] | _commentString | std::string to be used for exporting comments. |
Definition at line 40 of file export_auxiliary_sim_functions.cpp.
|
inlinevirtual |
Destructor.
Definition at line 74 of file export_auxiliary_sim_functions.hpp.
returnValue ExportAuxiliarySimFunctions::configure | ( | ) |
Configure the template
Definition at line 57 of file export_auxiliary_sim_functions.cpp.
returnValue ExportAuxiliarySimFunctions::exportCode | ( | ) |
Export the interface.
Definition at line 79 of file export_auxiliary_sim_functions.cpp.
|
private |
Definition at line 89 of file export_auxiliary_sim_functions.hpp.
|
private |
Definition at line 90 of file export_auxiliary_sim_functions.hpp.
|
private |
Definition at line 91 of file export_auxiliary_sim_functions.hpp.
|
private |
Definition at line 88 of file export_auxiliary_sim_functions.hpp.