MAK RTIspy API Documentation for HLA Evolved
List of all members | Public Types | Public Member Functions | Protected Attributes | Private Member Functions

A dialog containing a graph of a single series of data. More...

+ Inheritance diagram for DtGraphDialog:
+ Collaboration diagram for DtGraphDialog:

Public Types

enum  DtGraphType { DtValueGraph, DtRateGraph }

Public Member Functions

 DtGraphDialog (const QString &description, const QString &units, DtGraphType type, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor.
 ~DtGraphDialog ()
 Destructor.
void addPoint (double time, double val)
 Adds a new data point to the graph.
void clearGraph ()
 Clears the graph.

Protected Attributes

DtAssistantPlotWidgetmyGraph
 The graph.
QDialogButtonBox * myButtonBox
 The button box for the dialog.
QLabelmyLabel
 The description label for the dialog.
DtGraphType myGraphType
 The graph type.
double myLastGraphedTime
 The time value (x axis) of the last graphed point.
double myLastGraphedValue
 The data value (y axis) of the last graphed point.
unsigned mySeriesId
 The series ID displayed by this graph.

Private Member Functions

 DtGraphDialog (const DtGraphDialog &)
 Copy Constructor not implemented.
DtGraphDialogoperator= (const DtGraphDialog &)
 Assignment Operator not implemented.

Detailed Description

A dialog containing a graph of a single series of data.

Member Enumeration Documentation

Enumerator:
DtValueGraph 
DtRateGraph 

Constructor & Destructor Documentation

DtGraphDialog::DtGraphDialog ( const QString &  description,
const QString &  units,
DtGraphType  type,
QWidget parent = 0,
Qt::WindowFlags  f = 0 
)
DtGraphDialog::~DtGraphDialog ( )

Destructor.

DtGraphDialog::DtGraphDialog ( const DtGraphDialog )
private

Copy Constructor not implemented.

Member Function Documentation

void DtGraphDialog::addPoint ( double  time,
double  val 
)
void DtGraphDialog::clearGraph ( )

Clears the graph.

References DtAssistantPlotWidget::clear(), and myGraph.

DtGraphDialog& DtGraphDialog::operator= ( const DtGraphDialog )
private

Assignment Operator not implemented.

Member Data Documentation

QDialogButtonBox* DtGraphDialog::myButtonBox
protected

The button box for the dialog.

Referenced by DtGraphDialog().

DtAssistantPlotWidget* DtGraphDialog::myGraph
protected

The graph.

Referenced by addPoint(), clearGraph(), and DtGraphDialog().

DtGraphType DtGraphDialog::myGraphType
protected

The graph type.

Referenced by addPoint().

QLabel* DtGraphDialog::myLabel
protected

The description label for the dialog.

Referenced by DtGraphDialog().

double DtGraphDialog::myLastGraphedTime
protected

The time value (x axis) of the last graphed point.

Referenced by addPoint().

double DtGraphDialog::myLastGraphedValue
protected

The data value (y axis) of the last graphed point.

Referenced by addPoint().

unsigned DtGraphDialog::mySeriesId
protected

The series ID displayed by this graph.

Referenced by addPoint(), and DtGraphDialog().


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

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)