Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
rqt_multiplot::PlotConfig Class Reference

#include <PlotConfig.h>

Inheritance diagram for rqt_multiplot::PlotConfig:
Inheritance graph
[legend]

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

CurveConfigaddCurve ()
 
void clearCurves ()
 
QVector< CurveConfig * > findCurves (const QString &title) const
 
PlotAxesConfiggetAxesConfig () const
 
CurveConfiggetCurveConfig (size_t index) const
 
PlotLegendConfiggetLegendConfig () const
 
size_t getNumCurves () const
 
double getPlotRate () const
 
const QString & getTitle () const
 
void load (QSettings &settings)
 
PlotConfigoperator= (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

PlotAxesConfigaxesConfig_
 
QVector< CurveConfig * > curveConfig_
 
PlotLegendConfiglegendConfig_
 
double plotRate_
 
QString title_
 

Detailed Description

Definition at line 31 of file PlotConfig.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

CurveConfig * rqt_multiplot::PlotConfig::addCurve ( )

Definition at line 104 of file PlotConfig.cpp.

void rqt_multiplot::PlotConfig::axesConfigChanged ( )
privateslot

Definition at line 315 of file PlotConfig.cpp.

void rqt_multiplot::PlotConfig::clearCurves ( )

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 ( )
privateslot

Definition at line 289 of file PlotConfig.cpp.

void rqt_multiplot::PlotConfig::curveConfigDestroyed ( )
privateslot

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.

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.

void rqt_multiplot::PlotConfig::legendConfigChanged ( )
privateslot

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.

Member Data Documentation

PlotAxesConfig* rqt_multiplot::PlotConfig::axesConfig_
private

Definition at line 76 of file PlotConfig.h.

QVector<CurveConfig*> rqt_multiplot::PlotConfig::curveConfig_
private

Definition at line 75 of file PlotConfig.h.

PlotLegendConfig* rqt_multiplot::PlotConfig::legendConfig_
private

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.


The documentation for this class was generated from the following files:


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Wed Jul 10 2019 03:49:44