MAK RTIspy API Documentation for HLA 1516
List of all members | Public Member Functions | Private Attributes
DtAssistantPlot::TimeScaleDraw Class Reference

Custom QwtScaleDraw for displaying x axis values as times. More...

+ Inheritance diagram for DtAssistantPlot::TimeScaleDraw:
+ Collaboration diagram for DtAssistantPlot::TimeScaleDraw:

Public Member Functions

 TimeScaleDraw ()
 CTOR Instantiates a new TimeScaleDraw.
virtual void setBaseTime (MAKRti::DtU64 baseTime)
 Sets the reference time to use for labeling The precision required to accurately use DtU64's for time coordinates are not offered by the QPointF class, so all points must be relative to the given base time.
virtual QwtText label (double val) const
 Converts the given value to the axis label.

Private Attributes

MAKRti::DtU64 myBaseTime

Detailed Description

Custom QwtScaleDraw for displaying x axis values as times.

Constructor & Destructor Documentation

DtAssistantPlot::TimeScaleDraw::TimeScaleDraw ( )

CTOR Instantiates a new TimeScaleDraw.

Member Function Documentation

QwtText DtAssistantPlot::TimeScaleDraw::label ( double  val) const
virtual

Converts the given value to the axis label.

void DtAssistantPlot::TimeScaleDraw::setBaseTime ( MAKRti::DtU64  baseTime)
virtual

Sets the reference time to use for labeling The precision required to accurately use DtU64's for time coordinates are not offered by the QPointF class, so all points must be relative to the given base time.

Parameters
baseTimethe reference time to use for labeling.

Referenced by DtAssistantPlot::setBaseTime().

Member Data Documentation

MAKRti::DtU64 DtAssistantPlot::TimeScaleDraw::myBaseTime
private

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)