Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00032 #ifndef ACADO_TOOLKIT_EXPORT_COMMON_HEADER_HPP
00033 #define ACADO_TOOLKIT_EXPORT_COMMON_HEADER_HPP
00034
00035 #include <acado/code_generation/export_templated_file.hpp>
00036
00037 BEGIN_NAMESPACE_ACADO
00038
00046 class ExportCommonHeader : public ExportTemplatedFile
00047 {
00048 public:
00060 ExportCommonHeader( const std::string& _fileName,
00061 const std::string& _commonHeaderName = "",
00062 const std::string& _realString = "real_t",
00063 const std::string& _intString = "int",
00064 int _precision = 16,
00065 const std::string& _commentString = std::string()
00066 );
00067
00069 virtual ~ExportCommonHeader( )
00070 {}
00071
00076 returnValue configure( const std::string& _moduleName,
00077 bool _useSinglePrecision,
00078 QPSolverName _qpSolver,
00079 const std::map<std::string, std::pair<std::string, std::string> >& _options,
00080 const std::string& _variables,
00081 const std::string& _workspace,
00082 const std::string& _functions
00083 );
00084 };
00085
00086 CLOSE_NAMESPACE_ACADO
00087
00088 #endif // ACADO_TOOLKIT_EXPORT_COMMON_HEADER_HPP