#include <CurveDataConfig.h>
Public Types | |
enum | Type { Vector, List, CircularBuffer, TimeFrame } |
Signals | |
void | circularBufferCapacityChanged (size_t capacity) |
void | timeFrameLengthChanged (double length) |
void | typeChanged (int type) |
Public Member Functions | |
CurveDataConfig (QObject *parent=0, Type type=Vector, size_t circularBufferCapacity=1000, double timeFrameLength=10.0) | |
size_t | getCircularBufferCapacity () const |
double | getTimeFrameLength () const |
Type | getType () const |
void | load (QSettings &settings) |
CurveDataConfig & | operator= (const CurveDataConfig &src) |
void | read (QDataStream &stream) |
void | reset () |
void | save (QSettings &settings) const |
void | setCircularBufferCapacity (size_t capacity) |
void | setTimeFrameLength (double length) |
void | setType (Type type) |
void | write (QDataStream &stream) const |
~CurveDataConfig () | |
Private Attributes | |
size_t | circularBufferCapacity_ |
double | timeFrameLength_ |
Type | type_ |
Definition at line 25 of file CurveDataConfig.h.
Definition at line 29 of file CurveDataConfig.h.
rqt_multiplot::CurveDataConfig::CurveDataConfig | ( | QObject * | parent = 0 , |
Type | type = Vector , |
||
size_t | circularBufferCapacity = 1000 , |
||
double | timeFrameLength = 10.0 |
||
) |
Definition at line 27 of file CurveDataConfig.cpp.
Definition at line 35 of file CurveDataConfig.cpp.
void rqt_multiplot::CurveDataConfig::circularBufferCapacityChanged | ( | size_t | capacity | ) | [signal] |
size_t rqt_multiplot::CurveDataConfig::getCircularBufferCapacity | ( | ) | const |
Definition at line 64 of file CurveDataConfig.cpp.
double rqt_multiplot::CurveDataConfig::getTimeFrameLength | ( | ) | const |
Definition at line 77 of file CurveDataConfig.cpp.
Definition at line 51 of file CurveDataConfig.cpp.
void rqt_multiplot::CurveDataConfig::load | ( | QSettings & | settings | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 93 of file CurveDataConfig.cpp.
CurveDataConfig & rqt_multiplot::CurveDataConfig::operator= | ( | const CurveDataConfig & | src | ) |
Definition at line 129 of file CurveDataConfig.cpp.
void rqt_multiplot::CurveDataConfig::read | ( | QDataStream & | stream | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 112 of file CurveDataConfig.cpp.
void rqt_multiplot::CurveDataConfig::reset | ( | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 100 of file CurveDataConfig.cpp.
void rqt_multiplot::CurveDataConfig::save | ( | QSettings & | settings | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 85 of file CurveDataConfig.cpp.
void rqt_multiplot::CurveDataConfig::setCircularBufferCapacity | ( | size_t | capacity | ) |
Definition at line 55 of file CurveDataConfig.cpp.
void rqt_multiplot::CurveDataConfig::setTimeFrameLength | ( | double | length | ) |
Definition at line 68 of file CurveDataConfig.cpp.
void rqt_multiplot::CurveDataConfig::setType | ( | Type | type | ) |
Definition at line 42 of file CurveDataConfig.cpp.
void rqt_multiplot::CurveDataConfig::timeFrameLengthChanged | ( | double | length | ) | [signal] |
void rqt_multiplot::CurveDataConfig::typeChanged | ( | int | type | ) | [signal] |
void rqt_multiplot::CurveDataConfig::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 106 of file CurveDataConfig.cpp.
size_t rqt_multiplot::CurveDataConfig::circularBufferCapacity_ [private] |
Definition at line 63 of file CurveDataConfig.h.
double rqt_multiplot::CurveDataConfig::timeFrameLength_ [private] |
Definition at line 64 of file CurveDataConfig.h.
Type rqt_multiplot::CurveDataConfig::type_ [private] |
Definition at line 62 of file CurveDataConfig.h.