export_qpoases_interface.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of ACADO Toolkit.
3  *
4  * ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
5  * Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau,
6  * Milan Vukov, Rien Quirynen, KU Leuven.
7  * Developed within the Optimization in Engineering Center (OPTEC)
8  * under supervision of Moritz Diehl. All rights reserved.
9  *
10  * ACADO Toolkit is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 3 of the License, or (at your option) any later version.
14  *
15  * ACADO Toolkit is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with ACADO Toolkit; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23  *
24  */
25 
32 #ifndef ACADO_TOOLKIT_EXPORT_QPOASES_INTERFACE_HPP
33 #define ACADO_TOOLKIT_EXPORT_QPOASES_INTERFACE_HPP
34 
36 
38 
49 {
50 public:
51 
64  ExportQpOasesInterface( const std::string& _headerFileName,
65  const std::string& _sourceFileName,
66  const std::string& _commonHeaderName = "",
67  const std::string& _realString = "real_t",
68  const std::string& _intString = "int",
69  int _precision = 16,
70  const std::string& _commentString = std::string()
71  );
72 
75  {}
76 
81  virtual returnValue configure( const std::string& _prefix,
82  const std::string& _solverDefine,
83  const int nvmax,
84  const int ncmax,
85  const int nwsrmax,
86  const std::string& _printLevel,
87  bool _useSinglePrecision,
88  const std::string& _commonHeader,
89  const std::string& _namespace,
90  const std::string& _primalSolution,
91  const std::string& _dualSolution,
92  const std::string& _sigma,
93  bool _hotstartQP,
94  bool _externalCholesky,
95  const std::string& _qpH,
96  const std::string& _qpR,
97  const std::string& _qpg,
98  const std::string& _qpA,
99  const std::string& _qplb,
100  const std::string& _qpub,
101  const std::string& _qplbA,
102  const std::string& _qpubA
103  );
104 
106  virtual returnValue exportCode();
107 
108 protected:
109 
112 };
113 
115 
116 #endif // ACADO_TOOLKIT_EXPORT_QPOASES_INTERFACE_HPP
Allows to pass back messages to the calling function.
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)
#define CLOSE_NAMESPACE_ACADO
Allows export of template files.
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 returnValue exportCode()
#define BEGIN_NAMESPACE_ACADO
A class for generating the glue code for interfacing qpOASES.


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:34:34