plot_collection.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 
26 
33 #ifndef ACADO_TOOLKIT_PLOT_COLLECTION_HPP
34 #define ACADO_TOOLKIT_PLOT_COLLECTION_HPP
35 
36 
40 
42 
43 
45 
46 
60 {
61  friend class Plotting;
62 
63  //
64  // PUBLIC MEMBER FUNCTIONS:
65  //
66  public:
68  PlotCollection( );
69 
75  );
76 
78  ~PlotCollection( );
79 
85  );
86 
87 
94  inline PlotWindow& operator()( uint idx
95  );
96 
103  inline PlotWindow operator()( uint idx
104  ) const;
105 
106 
117  int operator<<( PlotWindow& window
118  );
119 
127  int addPlotWindow( PlotWindow& window
128  );
129 
130 
136 
137 
142  inline uint getNumPlotWindows( ) const;
143 
144 
146 
148 
149 
151 
153 
154 
156 
158 
159 
160  //
161  // PROTECTED MEMBER FUNCTIONS:
162  //
163  protected:
164 
165 
166  //
167  // DATA MEMBERS:
168  //
169  protected:
174 };
175 
176 
178 
179 
180 #include <acado/user_interaction/plot_collection.ipp>
181 
182 
183 #endif // ACADO_TOOLKIT_PLOT_COLLECTION_HPP
184 
185 
186 /*
187  * end of file
188  */
int addPlotWindow(PlotWindow &window)
PlotWindow & operator()(uint idx)
Provides a generic way to plot algorithmic outputs during runtime.
Definition: plotting.hpp:61
returnValue disableNominalParameters()
Allows to pass back messages to the calling function.
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
Definition: acado_types.hpp:42
PlotCollection & operator=(const PlotCollection &rhs)
#define CLOSE_NAMESPACE_ACADO
PlotWindow * first
Allows to setup and plot user-specified plot windows for algorithmic outputs.
Definition: plot_window.hpp:76
uint getNumPlotWindows() const
void rhs(const real_t *x, real_t *f)
returnValue disableNominalOutputs()
returnValue disableNominalControls()
int operator<<(PlotWindow &window)
Provides a generic list of plot windows (for internal use).
#define BEGIN_NAMESPACE_ACADO
PlotWindow * last
returnValue enableNominalParameters()
returnValue enableNominalOutputs()
returnValue clearAllWindows()
returnValue enableNominalControls()


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