VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtTrackHistorySettingsInterface Class Reference

Interface for the track history settings widget. More...

Inheritance diagram for makVrv::DtTrackHistorySettingsInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtTrackHistorySettingsInterface ()
 DTOR.
virtual void setLengthSliderDisabled (bool disabled)=0
 Method for disabling the length slider (when ribbon is infinite).
Field Value Getters/Setters
virtual int trackHistoryRibbonLength () const =0
 Gets the maximum track history ribbon length (in samples).
virtual void setTrackHistoryRibbonLength (int maxSamples)=0
 Sets the maximum track history ribbon length (in samples).
virtual float trackHistoryRibbonSpacing () const =0
 Gets the spacing between track history ribbon samples (in meters).
virtual void setTrackHistoryRibbonSpacing (float spacing)=0
 Sets the spacing between track history ribbon samples (in meters).
virtual bool trackHistoryRibbonInfinite () const =0
 Gets whether the track history ribbon is 'infinitely' long (250k samples).
virtual void setTrackHistoryRibbonInfinite (bool isInfinite)=0
 Sets whether the track history ribbon is 'infinitely' long (250k samples).

Public Attributes

User Input Signals
boost::signal< void(int)> signal_trackHistoryRibbonLengthChanged
 Signals that the user changed the track history ribbon length.
boost::signal< void(float)> signal_trackHistoryRibbonSpacingChanged
 Signals that the user changed the track history ribbon spacing.
boost::signal< void(bool)> signal_trackHistoryRibbonInfiniteChanged
 Signals that the user toggled 'infinitely long' track history ribbons.

Detailed Description

Interface for the track history settings widget.

Used by the logic to communicate with the widget.

Constructor & Destructor Documentation

virtual makVrv::DtTrackHistorySettingsInterface::~DtTrackHistorySettingsInterface ( )
virtual

DTOR.

Member Function Documentation

virtual int makVrv::DtTrackHistorySettingsInterface::trackHistoryRibbonLength ( ) const
pure virtual

Gets the maximum track history ribbon length (in samples).

Implemented in makVrv::DtTrackHistorySettingsWidget.

virtual void makVrv::DtTrackHistorySettingsInterface::setTrackHistoryRibbonLength ( int  maxSamples)
pure virtual

Sets the maximum track history ribbon length (in samples).

Implemented in makVrv::DtTrackHistorySettingsWidget.

virtual float makVrv::DtTrackHistorySettingsInterface::trackHistoryRibbonSpacing ( ) const
pure virtual

Gets the spacing between track history ribbon samples (in meters).

Implemented in makVrv::DtTrackHistorySettingsWidget.

virtual void makVrv::DtTrackHistorySettingsInterface::setTrackHistoryRibbonSpacing ( float  spacing)
pure virtual

Sets the spacing between track history ribbon samples (in meters).

Implemented in makVrv::DtTrackHistorySettingsWidget.

virtual bool makVrv::DtTrackHistorySettingsInterface::trackHistoryRibbonInfinite ( ) const
pure virtual

Gets whether the track history ribbon is 'infinitely' long (250k samples).

Implemented in makVrv::DtTrackHistorySettingsWidget.

virtual void makVrv::DtTrackHistorySettingsInterface::setTrackHistoryRibbonInfinite ( bool  isInfinite)
pure virtual

Sets whether the track history ribbon is 'infinitely' long (250k samples).

Implemented in makVrv::DtTrackHistorySettingsWidget.

virtual void makVrv::DtTrackHistorySettingsInterface::setLengthSliderDisabled ( bool  disabled)
pure virtual

Method for disabling the length slider (when ribbon is infinite).

Implemented in makVrv::DtTrackHistorySettingsWidget.

Member Data Documentation

boost::signal<void (int)> makVrv::DtTrackHistorySettingsInterface::signal_trackHistoryRibbonLengthChanged

Signals that the user changed the track history ribbon length.

Parameters
_1the new length of the track history ribbon (in samples).
boost::signal<void (float)> makVrv::DtTrackHistorySettingsInterface::signal_trackHistoryRibbonSpacingChanged

Signals that the user changed the track history ribbon spacing.

Parameters
_1the new spacing between samples in the ribbon (in meters).
boost::signal<void (bool)> makVrv::DtTrackHistorySettingsInterface::signal_trackHistoryRibbonInfiniteChanged

Signals that the user toggled 'infinitely long' track history ribbons.

Parameters
_1whether the user set 'infinitely long' ribbons on or off.

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)