VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRadioCommunicationsSettingsInterface.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 
15 
17 
18 #include <vrvUtil/signalslib.h>
19 
20 #include <QtGui/QColor>
21 
22 namespace makVrv
23 {
24 
28  {
29  public:
30 
34 
35  virtual void setRadioCommsVisibility( bool visible ) = 0;
36  virtual void setCommLinesVisibility( bool visible ) = 0;
37  virtual void setSquawkIndicatorsVisibility( bool visible ) = 0;
38  virtual void setCommLineLifetime( double lifetime ) = 0;
39  virtual void setSquawkIndicatorLifetime( double lifetime ) = 0;
40  virtual void setCommLineDisplayMode(
42  virtual void setGreatCircleExaggerationAmount( double amount ) = 0;
43  virtual void setDefaultColoringMode(
45  virtual void setDefaultFrequencyColor( float r, float g, float b ) = 0;
46  virtual void addFrequencyRange( float rangeStart, float rangeEnd,
47  float r, float g, float b ) = 0;
48  virtual void clearFrequencyRanges() = 0;
49 
50  virtual void setCurrentGradient( const DtRangeEditorInterface::Gradient& grad ) = 0;
51  virtual DtRangeEditorInterface::Gradient currentGradient() const = 0;
52 
54 
58 
61  boost::signalslib::signal<void (bool)> signal_radioCommsVisiblityChanged;
62 
65  boost::signalslib::signal<void (bool)> signal_radioCommLinesVisibilityChanged;
66 
69  boost::signalslib::signal<void (bool)> signal_radioSquawkIndicatorsVisibilityChanged;
70 
73  boost::signalslib::signal<void (double)> signal_commLineLifetimeChanged;
74 
77  boost::signalslib::signal<void (double)> signal_squawkIndicatorLifetimeChanged;
78 
81  boost::signalslib::signal<void (makArchives::DtRadioCommunicationsSettingsRecord::CommLineMode)>
83 
86  boost::signalslib::signal<void (double)> signal_greatCircleExaggerationAmountChanged;
87 
90  boost::signalslib::signal<void (makArchives::DtRadioCommunicationsSettingsRecord::DefaultColoringMode)>
92 
94  boost::signalslib::signal<void ()> signal_defaultFrequencyColorChangeRequested;
95 
98  boost::signalslib::signal<void (const DtRangeEditorInterface::Gradient&)> signal_gradientChanged;
99 
101 
102  };
103 
104 }
DefaultColoringMode
Definition: DtRadioCommunicationsSettingsRecord.h:29
boost::signalslib::signal< void(makArchives::DtRadioCommunicationsSettingsRecord::CommLineMode)> signal_commLineDisplayModeChanged
Signals that the user has changed the comm lines&#39; display mode.
Definition: DtRadioCommunicationsSettingsInterface.h:82
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
std::vector< DtRangeEditorInterface::ControlPoint > Gradient
Vector type for storing ControlPoints.
Definition: DtRangeEditorInterface.h:27
boost::signalslib::signal< void(makArchives::DtRadioCommunicationsSettingsRecord::DefaultColoringMode)> signal_defaultColoringModeChanged
Signals that the user has changed the coloring mode for radio communications.
Definition: DtRadioCommunicationsSettingsInterface.h:91
Contains DLL export macros.
boost::signalslib::signal< void(double)> signal_commLineLifetimeChanged
Signals that the user has changed the comm lines&#39; lifetime field.
Definition: DtRadioCommunicationsSettingsInterface.h:73
boost::signalslib::signal< void(double)> signal_greatCircleExaggerationAmountChanged
Signals that the user has changed the curved earth exaggeration amount.
Definition: DtRadioCommunicationsSettingsInterface.h:86
boost::signalslib::signal< void(bool)> signal_radioCommLinesVisibilityChanged
Signals that the user has changed the comm lines&#39; visibility field.
Definition: DtRadioCommunicationsSettingsInterface.h:65
boost::signalslib::signal< void(const DtRangeEditorInterface::Gradient &)> signal_gradientChanged
Signals that the user has changed the configured frequency ranges.
Definition: DtRadioCommunicationsSettingsInterface.h:98
Contains the DtRangeEditorInterface declaration.
boost::signalslib::signal< void(bool)> signal_radioCommsVisiblityChanged
Signals that the user has changed the radio communications visibility field.
Definition: DtRadioCommunicationsSettingsInterface.h:61
boost::signalslib::signal< void()> signal_defaultFrequencyColorChangeRequested
Signals that the user has requested to modify the default frequency color.
Definition: DtRadioCommunicationsSettingsInterface.h:94
Contains the DtRadioCommunicationsSettingsRecord class declaration.
const char int mode
Definition: ioapi.h:38
boost::signalslib::signal< void(double)> signal_squawkIndicatorLifetimeChanged
Signals that the user has changed the squawk indicators&#39; lifetime field.
Definition: DtRadioCommunicationsSettingsInterface.h:77
Interface for the widget logic to communicate with the widget.
Definition: DtRadioCommunicationsSettingsInterface.h:27
boost::signalslib::signal< void(bool)> signal_radioSquawkIndicatorsVisibilityChanged
Signals that the user has changed the squawk indicators&#39; visibility field.
Definition: DtRadioCommunicationsSettingsInterface.h:69
CommLineMode
Definition: DtRadioCommunicationsSettingsRecord.h:23

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)