export_qpoases3_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_QPOASES3_INTERFACE_HPP
33 #define ACADO_TOOLKIT_EXPORT_QPOASES3_INTERFACE_HPP
34 
37 
39 
50 {
51 public:
52 
65  ExportQpOases3Interface( const std::string& _headerFileName,
66  const std::string& _sourceFileName,
67  const std::string& _commonHeaderName = "",
68  const std::string& _realString = "real_t",
69  const std::string& _intString = "int",
70  int _precision = 16,
71  const std::string& _commentString = std::string()
72  );
73 
76  {}
77 
82  virtual returnValue configure( const std::string& _prefix,
83  const std::string& _solverDefine,
84  const int nvmax,
85  const int ncmax,
86  const int nwsrmax,
87  const std::string& _printLevel,
88  bool _useSinglePrecision,
89 
90  const std::string& _commonHeader,
91  const std::string& _namespace,
92  const std::string& _primalSolution,
93  const std::string& _dualSolution,
94  const std::string& _sigma,
95  bool _hotstartQP,
96  bool _externalCholesky,
97  const std::string& _qpH,
98  const std::string& _qpR,
99  const std::string& _qpg,
100  const std::string& _qpA,
101  const std::string& _qplb,
102  const std::string& _qpub,
103  const std::string& _qplbA,
104  const std::string& _qpubA
105  );
106 
108  virtual returnValue exportCode();
109 
110 protected:
111 
112 };
113 
115 
116 #endif // ACADO_TOOLKIT_EXPORT_QPOASES3_INTERFACE_HPP
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)
Allows to pass back messages to the calling function.
#define CLOSE_NAMESPACE_ACADO
A class for generating the glue code for interfacing qpOASES.
#define BEGIN_NAMESPACE_ACADO
A class for generating the glue code for interfacing qpOASES.
ExportQpOases3Interface(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())


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