plot_collection.hpp
Go to the documentation of this file.
00001 /*
00002  *    This file is part of ACADO Toolkit.
00003  *
00004  *    ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
00005  *    Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau,
00006  *    Milan Vukov, Rien Quirynen, KU Leuven.
00007  *    Developed within the Optimization in Engineering Center (OPTEC)
00008  *    under supervision of Moritz Diehl. All rights reserved.
00009  *
00010  *    ACADO Toolkit is free software; you can redistribute it and/or
00011  *    modify it under the terms of the GNU Lesser General Public
00012  *    License as published by the Free Software Foundation; either
00013  *    version 3 of the License, or (at your option) any later version.
00014  *
00015  *    ACADO Toolkit is distributed in the hope that it will be useful,
00016  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  *    Lesser General Public License for more details.
00019  *
00020  *    You should have received a copy of the GNU Lesser General Public
00021  *    License along with ACADO Toolkit; if not, write to the Free Software
00022  *    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00023  *
00024  */
00025 
00026 
00033 #ifndef ACADO_TOOLKIT_PLOT_COLLECTION_HPP
00034 #define ACADO_TOOLKIT_PLOT_COLLECTION_HPP
00035 
00036 
00037 #include <acado/utils/acado_utils.hpp>
00038 #include <acado/matrix_vector/matrix_vector.hpp>
00039 #include <acado/symbolic_expression/symbolic_expression.hpp>
00040 
00041 #include <acado/user_interaction/plot_window.hpp>
00042 
00043 
00044 BEGIN_NAMESPACE_ACADO
00045 
00046 
00059 class PlotCollection
00060 {
00061         friend class Plotting;
00062 
00063         //
00064         // PUBLIC MEMBER FUNCTIONS:
00065         //
00066         public:
00068                 PlotCollection( );
00069 
00074                 PlotCollection( const PlotCollection& rhs
00075                                                 );
00076 
00078                 ~PlotCollection( );
00079 
00084                 PlotCollection& operator=(      const PlotCollection& rhs
00085                                                                         );
00086 
00087 
00094                 inline PlotWindow& operator()(  uint idx
00095                                                                                 );
00096 
00103                 inline PlotWindow operator()(   uint idx
00104                                                                                 ) const;
00105 
00106 
00117                 int operator<<( PlotWindow& window
00118                                                 );
00119 
00127                 int addPlotWindow(      PlotWindow& window
00128                                                         );
00129 
00130 
00135                 returnValue clearAllWindows( );
00136 
00137 
00142                 inline uint getNumPlotWindows( ) const;
00143 
00144 
00145                 returnValue enableNominalControls( );
00146                 
00147                 returnValue disableNominalControls( );
00148 
00149 
00150                 returnValue enableNominalParameters( );
00151                 
00152                 returnValue disableNominalParameters( );
00153 
00154 
00155                 returnValue enableNominalOutputs( );
00156                 
00157                 returnValue disableNominalOutputs( );
00158 
00159 
00160     //
00161     // PROTECTED MEMBER FUNCTIONS:
00162     //
00163     protected:
00164 
00165 
00166     //
00167     // DATA MEMBERS:
00168     //
00169         protected:
00170                 PlotWindow* first;                              
00171                 PlotWindow* last;                               
00173                 uint number;                                    
00174 };
00175 
00176 
00177 CLOSE_NAMESPACE_ACADO
00178 
00179 
00180 #include <acado/user_interaction/plot_collection.ipp>
00181 
00182 
00183 #endif  // ACADO_TOOLKIT_PLOT_COLLECTION_HPP
00184 
00185 
00186 /*
00187  *      end of file
00188  */


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 11:59:49