#include <CurveConfig.h>
Public Types | |
enum | Axis { X, Y } |
Signals | |
void | subscriberQueueSizeChanged (size_t queueSize) |
void | titleChanged (const QString &title) |
Public Member Functions | |
CurveConfig (QObject *parent=0, const QString &title="Untitled Curve", size_t subscriberQueueSize=100) | |
CurveAxisConfig * | getAxisConfig (Axis axis) const |
CurveColorConfig * | getColorConfig () const |
CurveDataConfig * | getDataConfig () const |
CurveStyleConfig * | getStyleConfig () const |
size_t | getSubscriberQueueSize () const |
const QString & | getTitle () const |
void | load (QSettings &settings) |
CurveConfig & | operator= (const CurveConfig &src) |
void | read (QDataStream &stream) |
void | reset () |
void | save (QSettings &settings) const |
void | setSubscriberQueueSize (size_t queueSize) |
void | setTitle (const QString &title) |
void | write (QDataStream &stream) const |
~CurveConfig () | |
Static Public Attributes | |
static const QString | MimeType = "application/rqt-multiplot-curve-config" |
Private Slots | |
void | axisConfigChanged () |
void | colorConfigChanged () |
void | dataConfigChanged () |
void | styleConfigChanged () |
Private Attributes | |
QMap< Axis, CurveAxisConfig * > | axisConfig_ |
CurveColorConfig * | colorConfig_ |
CurveDataConfig * | dataConfig_ |
CurveStyleConfig * | styleConfig_ |
size_t | subscriberQueueSize_ |
QString | title_ |
Definition at line 32 of file CurveConfig.h.
Definition at line 36 of file CurveConfig.h.
rqt_multiplot::CurveConfig::CurveConfig | ( | QObject * | parent = 0 , |
const QString & | title = "Untitled Curve" , |
||
size_t | subscriberQueueSize = 100 |
||
) |
Definition at line 33 of file CurveConfig.cpp.
Definition at line 53 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::axisConfigChanged | ( | ) | [private, slot] |
Definition at line 238 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::colorConfigChanged | ( | ) | [private, slot] |
Definition at line 242 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::dataConfigChanged | ( | ) | [private, slot] |
Definition at line 250 of file CurveConfig.cpp.
CurveAxisConfig * rqt_multiplot::CurveConfig::getAxisConfig | ( | Axis | axis | ) | const |
Definition at line 73 of file CurveConfig.cpp.
Definition at line 82 of file CurveConfig.cpp.
Definition at line 90 of file CurveConfig.cpp.
Definition at line 86 of file CurveConfig.cpp.
size_t rqt_multiplot::CurveConfig::getSubscriberQueueSize | ( | ) | const |
Definition at line 103 of file CurveConfig.cpp.
const QString & rqt_multiplot::CurveConfig::getTitle | ( | ) | const |
Definition at line 69 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::load | ( | QSettings & | settings | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 139 of file CurveConfig.cpp.
CurveConfig & rqt_multiplot::CurveConfig::operator= | ( | const CurveConfig & | src | ) |
Definition at line 218 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::read | ( | QDataStream & | stream | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 195 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::reset | ( | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 167 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::save | ( | QSettings & | settings | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 111 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::setSubscriberQueueSize | ( | size_t | queueSize | ) |
Definition at line 94 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::setTitle | ( | const QString & | title | ) |
Definition at line 60 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::styleConfigChanged | ( | ) | [private, slot] |
Definition at line 246 of file CurveConfig.cpp.
void rqt_multiplot::CurveConfig::subscriberQueueSizeChanged | ( | size_t | queueSize | ) | [signal] |
void rqt_multiplot::CurveConfig::titleChanged | ( | const QString & | title | ) | [signal] |
void rqt_multiplot::CurveConfig::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 181 of file CurveConfig.cpp.
QMap<Axis, CurveAxisConfig*> rqt_multiplot::CurveConfig::axisConfig_ [private] |
Definition at line 71 of file CurveConfig.h.
Definition at line 72 of file CurveConfig.h.
Definition at line 74 of file CurveConfig.h.
const QString rqt_multiplot::CurveConfig::MimeType = "application/rqt-multiplot-curve-config" [static] |
Definition at line 41 of file CurveConfig.h.
Definition at line 73 of file CurveConfig.h.
size_t rqt_multiplot::CurveConfig::subscriberQueueSize_ [private] |
Definition at line 75 of file CurveConfig.h.
QString rqt_multiplot::CurveConfig::title_ [private] |
Definition at line 70 of file CurveConfig.h.