Provides a generic list of plot windows (for internal use). More...
#include <plot_collection.hpp>
Public Member Functions | |
int | addPlotWindow (PlotWindow &window) |
returnValue | clearAllWindows () |
returnValue | disableNominalControls () |
returnValue | disableNominalOutputs () |
returnValue | disableNominalParameters () |
returnValue | enableNominalControls () |
returnValue | enableNominalOutputs () |
returnValue | enableNominalParameters () |
uint | getNumPlotWindows () const |
PlotWindow & | operator() (uint idx) |
PlotWindow | operator() (uint idx) const |
int | operator<< (PlotWindow &window) |
PlotCollection & | operator= (const PlotCollection &rhs) |
PlotCollection () | |
PlotCollection (const PlotCollection &rhs) | |
~PlotCollection () | |
Protected Attributes | |
PlotWindow * | first |
PlotWindow * | last |
uint | number |
Friends | |
class | Plotting |
Provides a generic list of plot windows (for internal use).
The class PlotCollection manages a basic singly-linked list of plot windows that allows to plot algorithmic outputs during runtime. It is intended for internal use only, as all user-functionality is encapsulated within the classes Plotting and PlotWindow.
Definition at line 59 of file plot_collection.hpp.
Default constructor.
Definition at line 46 of file plot_collection.cpp.
PlotCollection::PlotCollection | ( | const PlotCollection & | rhs | ) |
Copy constructor (deep copy).
[in] | rhs | Right-hand side object. |
Definition at line 55 of file plot_collection.cpp.
Destructor.
Definition at line 73 of file plot_collection.cpp.
int PlotCollection::addPlotWindow | ( | PlotWindow & | window | ) |
Adds a window to the singly-linked list.
[in] | window | Window to be added. |
Definition at line 106 of file plot_collection.cpp.
Clears all windows from the singly-linked list.
Definition at line 132 of file plot_collection.cpp.
Definition at line 169 of file plot_collection.cpp.
Definition at line 227 of file plot_collection.cpp.
Definition at line 198 of file plot_collection.cpp.
Definition at line 155 of file plot_collection.cpp.
Definition at line 213 of file plot_collection.cpp.
Definition at line 184 of file plot_collection.cpp.
uint PlotCollection::getNumPlotWindows | ( | ) | const [inline] |
Returns number of windows contained in the plot collection.
PlotWindow& PlotCollection::operator() | ( | uint | idx | ) | [inline] |
Returns the window of the singly-linked list with given index.
[in] | idx | Index of desired window. |
PlotWindow PlotCollection::operator() | ( | uint | idx | ) | const [inline] |
Returns the window of the singly-linked list with given index (const version).
[in] | idx | Index of desired window. |
int PlotCollection::operator<< | ( | PlotWindow & | window | ) |
Adds a window to the singly-linked list.
[in] | window | Window to be added. |
Definition at line 99 of file plot_collection.cpp.
PlotCollection & PlotCollection::operator= | ( | const PlotCollection & | rhs | ) |
Assignment operator (deep copy).
[in] | rhs | Right-hand side object. |
Definition at line 79 of file plot_collection.cpp.
friend class Plotting [friend] |
Definition at line 61 of file plot_collection.hpp.
PlotWindow* PlotCollection::first [protected] |
Pointer to first window of the singly-linked list.
Definition at line 170 of file plot_collection.hpp.
PlotWindow* PlotCollection::last [protected] |
Pointer to last window of the singly-linked list.
Definition at line 171 of file plot_collection.hpp.
uint PlotCollection::number [protected] |
Total number of windows within the singly-linked list of the collection.
Definition at line 173 of file plot_collection.hpp.