MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Static Protected Attributes

A custom QwtPlotCurve that can self-update and toggle. More...

+ Inheritance diagram for DtAssistantPlotSeries:
+ Collaboration diagram for DtAssistantPlotSeries:

Public Member Functions

 DtAssistantPlotSeries (DtAssistantPlot *plot, unsigned seriesId, const QString &title)
 CTOR Instantiates a new DtQtGpsAccuracyPlotSeries for use with the given plot. More...
 
virtual ~DtAssistantPlotSeries ()
 Virtual DTOR. More...
 
void setData (double *timeVals, double *dataVals, unsigned numVals)
 Sets the data for the series. More...
 
virtual void addDataPoint (double time, double val)
 Adds a data point to the series. More...
 
virtual void clear ()
 Clears the data representing the series state. More...
 
virtual void setEnabled (bool state)
 Sets whether the series is visible on the plot and legend. More...
 
virtual unsigned seriesId () const
 Get the id this series is indexed as. More...
 
virtual void itemChanged ()
 
virtual void updateLegend (QwtAbstractLegend *legend) const
 

Protected Attributes

double * myTimeVals
 
double * myDataVals
 
unsigned myNumVals
 
unsigned mySeriesId
 
DtAssistantPlotmyPlot
 
bool myEnabledFlag
 

Static Protected Attributes

static const unsigned theMaxDataPoints
 

Detailed Description

A custom QwtPlotCurve that can self-update and toggle.

Constructor & Destructor Documentation

DtAssistantPlotSeries::DtAssistantPlotSeries ( DtAssistantPlot plot,
unsigned  seriesId,
const QString &  title 
)

CTOR Instantiates a new DtQtGpsAccuracyPlotSeries for use with the given plot.

Parameters
plotthe parent plot for the series (used when toggling series visibility)
titlethe name of the series
virtual DtAssistantPlotSeries::~DtAssistantPlotSeries ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void DtAssistantPlotSeries::addDataPoint ( double  time,
double  val 
)
virtual

Adds a data point to the series.

Parameters
timethe time (x value)
valuethe value (y value)
virtual void DtAssistantPlotSeries::clear ( )
virtual

Clears the data representing the series state.

virtual void DtAssistantPlotSeries::itemChanged ( )
virtual
virtual unsigned DtAssistantPlotSeries::seriesId ( ) const
virtual

Get the id this series is indexed as.

void DtAssistantPlotSeries::setData ( double *  timeVals,
double *  dataVals,
unsigned  numVals 
)

Sets the data for the series.

virtual void DtAssistantPlotSeries::setEnabled ( bool  state)
virtual

Sets whether the series is visible on the plot and legend.

Parameters
statewhether the series is visible on the plot and legend
virtual void DtAssistantPlotSeries::updateLegend ( QwtAbstractLegend *  legend) const
virtual

Member Data Documentation

double* DtAssistantPlotSeries::myDataVals
protected
bool DtAssistantPlotSeries::myEnabledFlag
protected
unsigned DtAssistantPlotSeries::myNumVals
protected
DtAssistantPlot* DtAssistantPlotSeries::myPlot
protected
unsigned DtAssistantPlotSeries::mySeriesId
protected
double* DtAssistantPlotSeries::myTimeVals
protected
const unsigned DtAssistantPlotSeries::theMaxDataPoints
staticprotected

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

Document ID: Generated on Thu May 11 15:55:32 EDT 2023 from SVN revision 254743
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)