external_packages/qpoases/INCLUDE/CyclingManager.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of qpOASES.
3  *
4  * qpOASES -- An Implementation of the Online Active Set Strategy.
5  * Copyright (C) 2007-2008 by Hans Joachim Ferreau et al. All rights reserved.
6  *
7  * qpOASES is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * qpOASES is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with qpOASES; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  *
21  */
22 
23 
35 #ifndef QPOASES_CYCLINGMANAGER_HPP
36 #define QPOASES_CYCLINGMANAGER_HPP
37 
38 
39 #include <Utils.hpp>
40 
41 
42 
50 class CyclingManager
51 {
52  /*
53  * PUBLIC MEMBER FUNCTIONS
54  */
55  public:
57  CyclingManager( );
58 
61  );
62 
64  ~CyclingManager( );
65 
68  );
69 
70 
73  returnValue init( int _nV,
74  int _nC
75  );
76 
77 
81  returnValue setCyclingStatus( int number,
82  BooleanType isBound,
84  CyclingStatus _status
85  );
86 
90  CyclingStatus getCyclingStatus( int number,
91  BooleanType isBound
93  ) const;
94 
95 
99 
100 
103  inline BooleanType isCyclingDetected( ) const;
104 
105 
106  /*
107  * PROTECTED MEMBER VARIABLES
108  */
109  protected:
110  int nV;
111  int nC;
116 };
117 
118 
119 #include <CyclingManager.ipp>
120 
121 #endif /* QPOASES_CYCLINGMANAGER_HPP */
122 
123 
124 /*
125  * end of file
126  */
BooleanType isCyclingDetected() const
Allows to pass back messages to the calling function.
CyclingStatus getCyclingStatus(int number, BooleanType isBound) const
void rhs(const real_t *x, real_t *f)
returnValue setCyclingStatus(int number, BooleanType isBound, CyclingStatus _status)


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