#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) |
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 () | |
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.
Definition at line 40 of file PlotConfig.cpp.
Definition at line 104 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::axesConfigChanged | ( | ) | [private, slot] |
Definition at line 315 of file PlotConfig.cpp.
Definition at line 133 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::curveAdded | ( | size_t | index | ) | [signal] |
void rqt_multiplot::PlotConfig::curveConfigChanged | ( | size_t | index | ) | [signal] |
void rqt_multiplot::PlotConfig::curveConfigChanged | ( | ) | [private, slot] |
Definition at line 289 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::curveConfigDestroyed | ( | ) | [private, slot] |
Definition at line 301 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::curveRemoved | ( | size_t | index | ) | [signal] |
void rqt_multiplot::PlotConfig::curvesCleared | ( | ) | [signal] |
QVector< CurveConfig * > rqt_multiplot::PlotConfig::findCurves | ( | const QString & | title | ) | const |
Definition at line 145 of file PlotConfig.cpp.
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.
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.
void rqt_multiplot::PlotConfig::legendConfigChanged | ( | ) | [private, slot] |
Definition at line 319 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::load | ( | QSettings & | settings | ) | [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.
void rqt_multiplot::PlotConfig::plotRateChanged | ( | double | rate | ) | [signal] |
void rqt_multiplot::PlotConfig::read | ( | QDataStream & | stream | ) | [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.
void rqt_multiplot::PlotConfig::reset | ( | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 218 of file PlotConfig.cpp.
void rqt_multiplot::PlotConfig::save | ( | QSettings & | settings | ) | const [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.
void rqt_multiplot::PlotConfig::titleChanged | ( | const QString & | title | ) | [signal] |
void rqt_multiplot::PlotConfig::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 229 of file PlotConfig.cpp.
Definition at line 76 of file PlotConfig.h.
QVector<CurveConfig*> rqt_multiplot::PlotConfig::curveConfig_ [private] |
Definition at line 75 of file PlotConfig.h.
Definition at line 77 of file PlotConfig.h.
double rqt_multiplot::PlotConfig::plotRate_ [private] |
Definition at line 78 of file PlotConfig.h.
QString rqt_multiplot::PlotConfig::title_ [private] |
Definition at line 74 of file PlotConfig.h.