32 #ifndef ACADO_TOOLKIT_EXPORT_ODE_FUNCTION_HPP 33 #define ACADO_TOOLKIT_EXPORT_ODE_FUNCTION_HPP 63 const std::string& _name =
"acadoFcn" 101 const std::string& _name =
"acadoFcn",
102 const uint _numX = 0,
103 const uint _numXA = 0,
104 const uint _numU = 0,
105 const uint _numP = 0,
106 const uint _numDX = 0,
107 const uint _numOD = 0
121 const std::string& _realString =
"real_t",
122 const std::string& _intString =
"int",
137 const std::string& _realString =
"real_t",
138 const std::string& _intString =
"int",
153 const std::string& _realString =
"real_t",
154 const std::string& _intString =
"int",
196 std::shared_ptr< Function >
f;
205 #endif // ACADO_TOOLKIT_EXPORT_FUNCTION_HPP virtual returnValue exportDataDeclaration(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
Allows to setup and evaluate a general function based on SymbolicExpressions.
ExportVariable getGlobalExportVariable() const
Allows to export code of an ACADO function.
Allows to pass back messages to the calling function.
virtual ExportStatement * clone() const
std::shared_ptr< Function > f
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
#define CLOSE_NAMESPACE_ACADO
unsigned getFunctionDim(void)
Base class for all kind of statements to be exported by the code generation tool. ...
Allows to export code of an arbitrary function.
virtual ~ExportAcadoFunction()
returnValue setGlobalExportVariable(const ExportVariable &var)
#define BEGIN_NAMESPACE_ACADO
virtual bool isDefined() const
virtual returnValue exportCode(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
virtual returnValue exportForwardDeclaration(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
returnValue init(const Function &_f, const std::string &_name="acadoFcn", const uint _numX=0, const uint _numXA=0, const uint _numU=0, const uint _numP=0, const uint _numDX=0, const uint _numOD=0)
Defines a matrix-valued variable to be used for exporting code.