#include <CurveAxisScaleConfig.h>
Public Types | |
enum | Type { Auto, Absolute, Relative } |
Signals | |
void | absoluteMaximumChanged (double maxnimum) |
void | absoluteMinimumChanged (double minimum) |
void | relativeMaximumChanged (double maxnimum) |
void | relativeMinimumChanged (double minimum) |
void | typeChanged (int type) |
Public Member Functions | |
CurveAxisScaleConfig (QObject *parent=0, Type type=Auto, double absoluteMinimum=0.0, double absoluteMaximum=1000.0, double relativeMinimum=-1000.0, double relativeMaximum=0.0) | |
double | getAbsoluteMaximum () const |
double | getAbsoluteMinimum () const |
double | getRelativeMaximum () const |
double | getRelativeMinimum () const |
Type | getType () const |
bool | isValid () const |
void | load (QSettings &settings) |
CurveAxisScaleConfig & | operator= (const CurveAxisScaleConfig &src) |
void | read (QDataStream &stream) |
void | reset () |
void | save (QSettings &settings) const |
void | setAbsoluteMaximum (double maximum) |
void | setAbsoluteMinimum (double minimum) |
void | setRelativeMaximum (double maximum) |
void | setRelativeMinimum (double minimum) |
void | setType (Type type) |
void | write (QDataStream &stream) const |
~CurveAxisScaleConfig () | |
Private Attributes | |
double | absoluteMaximum_ |
double | absoluteMinimum_ |
double | relativeMaximum_ |
double | relativeMinimum_ |
Type | type_ |
Definition at line 25 of file CurveAxisScaleConfig.h.
Definition at line 29 of file CurveAxisScaleConfig.h.
rqt_multiplot::CurveAxisScaleConfig::CurveAxisScaleConfig | ( | QObject * | parent = 0 , |
Type | type = Auto , |
||
double | absoluteMinimum = 0.0 , |
||
double | absoluteMaximum = 1000.0 , |
||
double | relativeMinimum = -1000.0 , |
||
double | relativeMaximum = 0.0 |
||
) |
Definition at line 27 of file CurveAxisScaleConfig.cpp.
Definition at line 38 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::absoluteMaximumChanged | ( | double | maxnimum | ) | [signal] |
void rqt_multiplot::CurveAxisScaleConfig::absoluteMinimumChanged | ( | double | minimum | ) | [signal] |
double rqt_multiplot::CurveAxisScaleConfig::getAbsoluteMaximum | ( | ) | const |
Definition at line 80 of file CurveAxisScaleConfig.cpp.
double rqt_multiplot::CurveAxisScaleConfig::getAbsoluteMinimum | ( | ) | const |
Definition at line 67 of file CurveAxisScaleConfig.cpp.
double rqt_multiplot::CurveAxisScaleConfig::getRelativeMaximum | ( | ) | const |
Definition at line 106 of file CurveAxisScaleConfig.cpp.
double rqt_multiplot::CurveAxisScaleConfig::getRelativeMinimum | ( | ) | const |
Definition at line 93 of file CurveAxisScaleConfig.cpp.
Definition at line 54 of file CurveAxisScaleConfig.cpp.
bool rqt_multiplot::CurveAxisScaleConfig::isValid | ( | ) | const |
Definition at line 110 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::load | ( | QSettings & | settings | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 133 of file CurveAxisScaleConfig.cpp.
CurveAxisScaleConfig & rqt_multiplot::CurveAxisScaleConfig::operator= | ( | const CurveAxisScaleConfig & | src | ) |
Definition at line 185 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::read | ( | QDataStream & | stream | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 163 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::relativeMaximumChanged | ( | double | maxnimum | ) | [signal] |
void rqt_multiplot::CurveAxisScaleConfig::relativeMinimumChanged | ( | double | minimum | ) | [signal] |
void rqt_multiplot::CurveAxisScaleConfig::reset | ( | ) | [virtual] |
Implements rqt_multiplot::Config.
Definition at line 143 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::save | ( | QSettings & | settings | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 123 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::setAbsoluteMaximum | ( | double | maximum | ) |
Definition at line 71 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::setAbsoluteMinimum | ( | double | minimum | ) |
Definition at line 58 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::setRelativeMaximum | ( | double | maximum | ) |
Definition at line 97 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::setRelativeMinimum | ( | double | minimum | ) |
Definition at line 84 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::setType | ( | Type | type | ) |
Definition at line 45 of file CurveAxisScaleConfig.cpp.
void rqt_multiplot::CurveAxisScaleConfig::typeChanged | ( | int | type | ) | [signal] |
void rqt_multiplot::CurveAxisScaleConfig::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements rqt_multiplot::Config.
Definition at line 153 of file CurveAxisScaleConfig.cpp.
double rqt_multiplot::CurveAxisScaleConfig::absoluteMaximum_ [private] |
Definition at line 71 of file CurveAxisScaleConfig.h.
double rqt_multiplot::CurveAxisScaleConfig::absoluteMinimum_ [private] |
Definition at line 70 of file CurveAxisScaleConfig.h.
double rqt_multiplot::CurveAxisScaleConfig::relativeMaximum_ [private] |
Definition at line 73 of file CurveAxisScaleConfig.h.
double rqt_multiplot::CurveAxisScaleConfig::relativeMinimum_ [private] |
Definition at line 72 of file CurveAxisScaleConfig.h.
Definition at line 69 of file CurveAxisScaleConfig.h.