VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTrackHistorySettingsInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2020 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 
14 #include <boost/signals.hpp>
15 
16 namespace makVrv
17 {
18 
23  {
24  public:
25 
28 
31 
32  private:
37 
38  public:
41 
43  virtual int trackHistoryRibbonLength() const = 0;
44 
46  virtual void setTrackHistoryRibbonLength( int maxSamples ) = 0;
47 
49  virtual void setTrackHistoryRibbonLengthRange(int min, int max, int step) = 0;
50 
52  virtual float trackHistoryRibbonTimeout() const = 0;
53 
55  virtual void setTrackHistoryRibbonTimeout(float duration) = 0;
56 
58  virtual void setTrackHistoryRibbonTimeoutRange(float min, float max, float step) = 0;
59 
61  virtual float trackHistoryRibbonSpacing() const = 0;
62 
64  virtual void setTrackHistoryRibbonSpacing( float spacing ) = 0;
65 
67  virtual bool trackHistoryRibbonInfinite() const = 0;
68 
70  virtual void setTrackHistoryRibbonInfinite( bool isInfinite ) = 0;
71 
73 
75  virtual void setLengthSliderDisabled( bool disabled ) = 0;
76 
79  virtual void setTimeoutSliderDisabled(bool disabled) = 0;
80 
83 
86  boost::signal<void (int)> signal_trackHistoryRibbonLengthChanged;
87 
90  boost::signal<void(float)> signal_trackHistoryRibbonTimeoutChanged;
91 
94  boost::signal<void (float)> signal_trackHistoryRibbonSpacingChanged;
95 
98  boost::signal<void (bool)> signal_trackHistoryRibbonInfiniteChanged;
99 
101 
102  };
103 
104 }
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
boost::signal< void(bool)> signal_trackHistoryRibbonInfiniteChanged
Signals that the user toggled &#39;infinitely long&#39; track history ribbons.
Definition: DtTrackHistorySettingsInterface.h:98
Contains DLL export macros.
boost::signal< void(float)> signal_trackHistoryRibbonTimeoutChanged
Signals that the user changed the track history ribbon segment timeout.
Definition: DtTrackHistorySettingsInterface.h:90
boost::signal< void(int)> signal_trackHistoryRibbonLengthChanged
Signals that the user changed the track history ribbon length.
Definition: DtTrackHistorySettingsInterface.h:86
Interface for the track history settings widget.
Definition: DtTrackHistorySettingsInterface.h:22
boost::signal< void(float)> signal_trackHistoryRibbonSpacingChanged
Signals that the user changed the track history ribbon spacing.
Definition: DtTrackHistorySettingsInterface.h:94

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)