|
#include <ArmarXGui/libraries/PlotterController/PlotterController.h>
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 321 of file PlotterController.cpp.
void clear | ( | ) |
Definition at line 909 of file PlotterController.cpp.
void clearBarList | ( | ) |
|
slot |
Definition at line 920 of file PlotterController.cpp.
|
protected |
|
protected |
Definition at line 741 of file PlotterController.cpp.
bool getAutoScale | ( | ) | const |
Definition at line 939 of file PlotterController.cpp.
std::vector< Qt::GlobalColor > getCurveColors | ( | ) | const |
Definition at line 984 of file PlotterController.cpp.
std::map< std::string, VariantPtr > getData | ( | const QStringList & | channels | ) |
Definition at line 351 of file PlotterController.cpp.
std::string getGraphStyle | ( | ) | const |
QWidget * getPlotterWidget | ( | ) |
int getPollingInterval | ( | ) | const |
QStringList getSelectedDatafields | ( | ) | const |
std::vector< std::string > getSelectedDatafieldsKeys | ( | ) | const |
Definition at line 793 of file PlotterController.cpp.
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 728 of file PlotterController.cpp.
|
signal |
|
slot |
void pollingExec | ( | ) |
Definition at line 118 of file PlotterController.cpp.
void setAutoScale | ( | bool | value | ) |
void setCurveColors | ( | const std::vector< Qt::GlobalColor > & | value | ) |
|
slot |
void setIceManager | ( | const IceManagerPtr & | value | ) |
Definition at line 886 of file PlotterController.cpp.
void setPollingInterval | ( | int | value | ) |
Definition at line 866 of file PlotterController.cpp.
void setSelectedDatafields | ( | const QStringList & | value, |
int | samplingIntervalMs = -1 |
||
) |
Changes the datafields that are plotted.
value | |
samplingIntervalMs |
Definition at line 848 of file PlotterController.cpp.
void setShownInterval | ( | int | value | ) |
Definition at line 931 of file PlotterController.cpp.
|
slot |
Definition at line 579 of file PlotterController.cpp.
void setUpdateInterval | ( | int | value | ) |
Definition at line 880 of file PlotterController.cpp.
|
slot |
|
slot |
Definition at line 126 of file PlotterController.cpp.
|
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.