|
|
#include <ArmarXGui/libraries/PlotterController/PlotterController.h>
Inheritance diagram for PlotterController:Public Slots | |
| void | autoScale (bool toggled) |
| void | clearHistory () |
| void | legendChecked (const QVariant &itemInfo, bool on) |
| Required for Qt5. More... | |
| void | plottingPaused (bool toggled) |
| void | setGraphStyle (const std::string &style) |
| void | setupCurves (int samplingIntervalMs=-1) |
| void | showCurve (QwtPlotItem *item, bool on) |
| void | updateGraph () |
Signals | |
| void | newDataAvailable (long timestamp, const std::map< std::string, VariantPtr > &newData) |
Public Member Functions | |
| void | clear () |
| void | clearBarList () |
| bool | getAutoScale () const |
| std::vector< Qt::GlobalColor > | getCurveColors () const |
| std::map< std::string, VariantPtr > | getData (const QStringList &channels) |
| std::string | getGraphStyle () const |
| QWidget * | getPlotterWidget () |
| int | getPollingInterval () const |
| QStringList | getSelectedDatafields () const |
| std::vector< std::string > | getSelectedDatafieldsKeys () const |
| int | getShownInterval () const |
| int | getUpdateInterval () const |
| PlotterController (QObject *parent) | |
| void | pollingExec () |
| void | setAutoScale (bool value) |
| void | setCurveColors (const std::vector< Qt::GlobalColor > &value) |
| void | setIceManager (const IceManagerPtr &value) |
| void | setPollingInterval (int value) |
| void | setSelectedDatafields (const QStringList &value, int samplingIntervalMs=-1) |
| Changes the datafields that are plotted. More... | |
| void | setShownInterval (int value) |
| void | setUpdateInterval (int value) |
| ~PlotterController () override | |
Protected Member Functions | |
| QwtThermo * | createBar (const QString &label) |
| QwtPlotCurve * | createCurve (const QString &label) |
Protected Attributes | |
| bool | __plottingPaused = false |
| bool | autoScalePlot = true |
| QHBoxLayout * | barlayout |
| std::map< std::string, QwtThermo * > | bars |
| std::vector< Qt::GlobalColor > | curveColors |
| std::map< std::string, QwtPlotCurve * > | curves |
| GraphDataMap | dataMap |
| std::recursive_mutex | dataMutex |
| std::string | graphStyle = "Curve (line, interpolate)" |
| IceManagerPtr | iceManager |
| JSONObjectPtr | json |
| std::map< std::string, std::map< IceUtil::Time, std::map< std::string, QwtPlotMarkerPtr > > > | markers |
| QPointer< QwtPlot > | plotter |
| int | pollingInterval = 33 |
| PeriodicTask< PlotterController >::pointer_type | pollingTask |
| ProxyMap | proxyMap |
| QStringList | selectedDatafields |
| int | shownInterval = 60 |
| QStackedLayout * | stackedLayout |
| QTimer | timer |
| int | updateInterval = 33 |
| QPointer< QWidget > | widget |
Definition at line 75 of file PlotterController.h.
| PlotterController | ( | QObject * | parent | ) |
|
override |
Definition at line 99 of file PlotterController.cpp.
|
slot |
Definition at line 328 of file PlotterController.cpp.
| void clear | ( | ) |
Definition at line 949 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void clearBarList | ( | ) |
|
slot |
Definition at line 960 of file PlotterController.cpp.
|
protected |
|
protected |
Definition at line 773 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool getAutoScale | ( | ) | const |
Definition at line 981 of file PlotterController.cpp.
| std::vector< Qt::GlobalColor > getCurveColors | ( | ) | const |
Definition at line 1030 of file PlotterController.cpp.
| std::map< std::string, VariantPtr > getData | ( | const QStringList & | channels | ) |
Definition at line 360 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string getGraphStyle | ( | ) | const |
| QWidget * getPlotterWidget | ( | ) |
| int getPollingInterval | ( | ) | const |
| QStringList getSelectedDatafields | ( | ) | const |
| std::vector< std::string > getSelectedDatafieldsKeys | ( | ) | const |
Definition at line 827 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| int getShownInterval | ( | ) | const |
| int getUpdateInterval | ( | ) | const |
|
slot |
Required for Qt5.
This can't be deactivated via if, because the moc ignores all preprocessor code. Hence there is a dummy implementation for Qt4
Definition at line 759 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
slot |
| void pollingExec | ( | ) |
Definition at line 120 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void setAutoScale | ( | bool | value | ) |
| void setCurveColors | ( | const std::vector< Qt::GlobalColor > & | value | ) |
|
slot |
| void setIceManager | ( | const IceManagerPtr & | value | ) |
Definition at line 923 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void setPollingInterval | ( | int | value | ) |
Definition at line 900 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void setSelectedDatafields | ( | const QStringList & | value, |
| int | samplingIntervalMs = -1 |
||
| ) |
Changes the datafields that are plotted.
| value | |
| samplingIntervalMs |
Definition at line 880 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void setShownInterval | ( | int | value | ) |
Definition at line 973 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Definition at line 595 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void setUpdateInterval | ( | int | value | ) |
Definition at line 916 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
|
slot |
Definition at line 129 of file PlotterController.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 155 of file PlotterController.h.
|
protected |
Definition at line 154 of file PlotterController.h.
|
protected |
Definition at line 173 of file PlotterController.h.
|
protected |
Definition at line 168 of file PlotterController.h.
|
protected |
Definition at line 167 of file PlotterController.h.
|
protected |
Definition at line 166 of file PlotterController.h.
|
protected |
Definition at line 164 of file PlotterController.h.
|
mutableprotected |
Definition at line 163 of file PlotterController.h.
|
protected |
Definition at line 153 of file PlotterController.h.
|
protected |
Definition at line 160 of file PlotterController.h.
|
protected |
Definition at line 159 of file PlotterController.h.
|
protected |
Definition at line 170 of file PlotterController.h.
|
protected |
Definition at line 157 of file PlotterController.h.
|
protected |
Definition at line 150 of file PlotterController.h.
|
protected |
Definition at line 161 of file PlotterController.h.
|
protected |
Definition at line 165 of file PlotterController.h.
|
protected |
Definition at line 158 of file PlotterController.h.
|
protected |
Definition at line 152 of file PlotterController.h.
|
protected |
Definition at line 172 of file PlotterController.h.
|
protected |
Definition at line 162 of file PlotterController.h.
|
protected |
Definition at line 151 of file PlotterController.h.
|
protected |
Definition at line 156 of file PlotterController.h.