#include <PlotConfig.h>
Signals | |
void | curveAdded (size_t index) |
void | curveConfigChanged (size_t index) |
void | curveRemoved (size_t index) |
void | curvesCleared () |
void | plotRateChanged (double rate) |
void | titleChanged (const QString &title) |
Signals inherited from rqt_multiplot::Config | |
void | changed () |
Public Member Functions | |
CurveConfig * | addCurve () |
void | clearCurves () |
QVector< CurveConfig * > | findCurves (const QString &title) const |
PlotAxesConfig * | getAxesConfig () const |
CurveConfig * | getCurveConfig (size_t index) const |
PlotLegendConfig * | getLegendConfig () const |
size_t | getNumCurves () const |
double | getPlotRate () const |
const QString & | getTitle () const |
void | load (QSettings &settings) |
PlotConfig & | operator= (const PlotConfig &src) |
PlotConfig (QObject *parent=0, const QString &title="Untitled Plot", double plotRate=30.0) | |
void | read (QDataStream &stream) |
void | removeCurve (CurveConfig *curveConfig) |
void | removeCurve (size_t index) |
void | reset () |
void | save (QSettings &settings) const |
void | setNumCurves (size_t numCurves) |
void | setPlotRate (double rate) |
void | setTitle (const QString &title) |
void | write (QDataStream &stream) const |
~PlotConfig () | |
Public Member Functions inherited from rqt_multiplot::Config | |
Config (QObject *parent=0) | |
~Config () | |
Private Slots | |
void | axesConfigChanged () |
void | curveConfigChanged () |
void | curveConfigDestroyed () |
void | legendConfigChanged () |
Private Attributes | |
PlotAxesConfig * | axesConfig_ |
QVector< CurveConfig * > | curveConfig_ |
PlotLegendConfig * | legendConfig_ |
double | plotRate_ |
QString | title_ |
Definition at line 31 of file PlotConfig.h.
rqt_multiplot::PlotConfig::PlotConfig | ( | QObject * | parent = 0 , |
const QString & | title = "Untitled Plot" , |
||
double | plotRate = 30.0 |
||
) |
Definition at line 27 of file PlotConfig.cpp.
rqt_multiplot::PlotConfig::~PlotConfig | ( | ) |
Definition at line 40 of file PlotConfig.cpp.
CurveConfig * rqt_multiplot::PlotConfig::addCurve | ( | ) |
Definition at line 104 of file PlotConfig.cpp.
|
privateslot |
Definition at line 315 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::clearCurves | ( | ) |
Definition at line 133 of file PlotConfig.cpp.
|
signal |
|
signal |
|
privateslot |
Definition at line 289 of file PlotConfig.cpp.
|
privateslot |
Definition at line 301 of file PlotConfig.cpp.
|
signal |
|
signal |
QVector< CurveConfig * > rqt_multiplot::PlotConfig::findCurves | ( | const QString & | title | ) | const |
Definition at line 145 of file PlotConfig.cpp.
PlotAxesConfig * rqt_multiplot::PlotConfig::getAxesConfig | ( | ) | const |
Definition at line 79 of file PlotConfig.cpp.
CurveConfig * rqt_multiplot::PlotConfig::getCurveConfig | ( | size_t | index | ) | const |
Definition at line 72 of file PlotConfig.cpp.
PlotLegendConfig * rqt_multiplot::PlotConfig::getLegendConfig | ( | ) | const |
Definition at line 83 of file PlotConfig.cpp.
size_t rqt_multiplot::PlotConfig::getNumCurves | ( | ) | const |
Definition at line 68 of file PlotConfig.cpp.
double rqt_multiplot::PlotConfig::getPlotRate | ( | ) | const |
Definition at line 96 of file PlotConfig.cpp.
const QString & rqt_multiplot::PlotConfig::getTitle | ( | ) | const |
Definition at line 56 of file PlotConfig.cpp.
|
privateslot |
Definition at line 319 of file PlotConfig.cpp.
|
virtual |
Implements rqt_multiplot::Config.
Definition at line 179 of file PlotConfig.cpp.
PlotConfig & rqt_multiplot::PlotConfig::operator= | ( | const PlotConfig & | src | ) |
Definition at line 266 of file PlotConfig.cpp.
|
signal |
|
virtual |
Implements rqt_multiplot::Config.
Definition at line 242 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::removeCurve | ( | CurveConfig * | curveConfig | ) |
Definition at line 121 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::removeCurve | ( | size_t | index | ) |
Definition at line 128 of file PlotConfig.cpp.
|
virtual |
Implements rqt_multiplot::Config.
Definition at line 218 of file PlotConfig.cpp.
|
virtual |
Implements rqt_multiplot::Config.
Definition at line 155 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::setNumCurves | ( | size_t | numCurves | ) |
Definition at line 60 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::setPlotRate | ( | double | rate | ) |
Definition at line 87 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::setTitle | ( | const QString & | title | ) |
Definition at line 47 of file PlotConfig.cpp.
|
signal |
|
virtual |
Implements rqt_multiplot::Config.
Definition at line 229 of file PlotConfig.cpp.
|
private |
Definition at line 76 of file PlotConfig.h.
|
private |
Definition at line 75 of file PlotConfig.h.
|
private |
Definition at line 77 of file PlotConfig.h.
|
private |
Definition at line 78 of file PlotConfig.h.
|
private |
Definition at line 74 of file PlotConfig.h.