![]() |
VR-Forces 5.0.3 Developer's Guide
|
This class will maintain settings regarding radio communications.

Classes | |
| struct | FrequencyRangeAttributes |
Public Member Functions | |
| virtual | ~DtSharedRadioCommunicationsSettings () |
General | |
| virtual float | commLineLifetime () const |
| virtual void | setCommLineLifetime (float lifetime) |
| virtual float | squawkIndicatorLifetime () const |
| virtual void | setSquawkIndicatorLifetime (float lifetime) |
| virtual float | commLineAnimationRate () const |
| virtual void | setCommLineAnimationRate (float rate) |
| virtual float | squawkIndicatorAnimationRate () const |
| virtual void | setSquawkIndicatorAnimationRate (float rate) |
| virtual bool | displayCommLines () const |
| virtual void | setDisplayCommLines (bool show) |
| virtual bool | displaySquawkIndicators () const |
| virtual void | setDisplaySquawkIndicators (bool show) |
| virtual bool | displayRadioCommunications () const |
| virtual void | setDisplayRadioCommunications (bool show) |
| virtual CommLineMode | commLineRenderMode () const |
| virtual void | setCommLineRenderMode (CommLineMode mode) |
| virtual double | greatCircleExaggerationAmount () const |
| virtual void | setGreatCircleExaggerationAmount (double amount) |
| virtual DefaultColoringMode | defaultColoringMode () const |
| virtual void | setDefaultColoringMode (DefaultColoringMode mode) |
Default Frequency Range (All) | |
| virtual bool | showDefaultFrequency () const |
| virtual void | setShowDefaultFrequency (bool show) |
| virtual void | getDefaultFrequencyColor (float &r, float &g, float &b) const |
| virtual void | setDefaultFrequencyColor (float r, float g, float b) |
Custom Frequency Ranges | |
| virtual void | getFrequencyRange (int rangeIndex, float &lowFreq, float &highFreq) const |
| virtual int | addFrequencyRange (float lowFreq, float highFreq) |
| virtual void | getFrequencyRangeColor (int rangeIndex, float &r, float &g, float &b) const |
| virtual void | setFrequencyRangeColor (int rangeIndex, float r, float g, float b) |
| virtual bool | showFrequencyRangeFrequency (int rangeIndex) const |
| virtual void | setShowFrequencyRangeFrequency (int rangeIndex, bool show) |
| virtual int | numFrequencyRanges () const |
| virtual void | clearFrequencyRanges () |
Settings record / backup methods | |
| void | setFromRecord (const makArchives::DtRadioCommunicationsSettingsRecord &rec) |
| void | getRecord (makArchives::DtRadioCommunicationsSettingsRecord &rec) const |
| virtual const DtRadioCommunicationsSettingsBackup * | settingsBackup () const |
| virtual DtRadioCommunicationsSettingsBackup * | settingsBackup () |
| virtual void | backup () |
Public Member Functions inherited from makVrv::DtSharedSettings | |
| DtSharedSettings (const DtSharedSettingsManager &manager) | |
| virtual | ~DtSharedSettings () |
| boost::shared_mutex & | mutex () |
| SafetyKey | safeToEmitSignals () |
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static const std::string & | className () |
Protected Types | |
| typedef makArchives::DtRadioCommunicationsSettingsRecord::CommLineMode | CommLineMode |
| typedef makArchives::DtRadioCommunicationsSettingsRecord::DefaultColoringMode | DefaultColoringMode |
| typedef std::vector < FrequencyRangeAttributes > | FrequencyRangeAttributesList |
Protected Member Functions | |
| DtSharedRadioCommunicationsSettings (DtSharedSettingsManager &manager) | |
Friends | |
| class | DtReadSettingsLock< DtSharedRadioCommunicationsSettings > |
| class | DtWriteSettingsLock< DtSharedRadioCommunicationsSettings > |
|
protected |
Enum typedef to allow usage of the record's mode enum locally.
|
protected |
Enum typedef to allow usage of the record's coloring enum locally.
|
protected |
Vector type for storing frequency range attributes.
|
virtual |
DTOR.
|
protected |
Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock).
|
virtual |
Getter/Setter for the default lifetime for comm lines.
|
virtual |
Getter/Setter for the default lifetime for comm lines.
|
virtual |
Getter/Setter for the default lifetime for squawk indicators.
|
virtual |
Getter/Setter for the default lifetime for squawk indicators.
|
virtual |
Getter/Setter for the default animation rate for comm lines.
|
virtual |
Getter/Setter for the default animation rate for comm lines.
|
virtual |
Getter/Setter for the default animation rate for squawk indicators.
|
virtual |
Getter/Setter for the default animation rate for squawk indicators.
|
virtual |
Getter/Setter for enabling the display of comm lines.
|
virtual |
Getter/Setter for enabling the display of comm lines.
|
virtual |
Getter/Setter for enabling the display of squawk indicators.
|
virtual |
Getter/Setter for enabling the display of squawk indicators.
|
virtual |
Getter/Setter for enabling radio communications processing.
|
virtual |
Getter/Setter for enabling radio communications processing.
|
virtual |
Getter/Setter for the mode used to draw comm lines.
|
virtual |
Getter/Setter for the mode used to draw comm lines.
|
virtual |
Getter/Setter for the great circle arc exaggeration amount.
|
virtual |
Getter/Setter for the great circle arc exaggeration amount.
|
virtual |
Getter/Setter for the mode used to color lines / indicators.
|
virtual |
Getter/Setter for the mode used to color lines / indicators.
|
virtual |
Getter/Setter for whether to show communications in the default frequencies.
|
virtual |
Getter/Setter for whether to show communications in the default frequencies.
|
virtual |
Getter/Setter for the default color to use for communications.
|
virtual |
Getter/Setter for whether to show communications in the default frequencies.
|
virtual |
Getter/Setter for custom frequency ranges.
|
virtual |
Getter/Setter for custom frequency ranges.
|
virtual |
Getter/Setter for the color for a given frequency range.
|
virtual |
Getter/Setter for custom frequency ranges.
|
virtual |
Getter/Setter for modifying the visibility of a given frequency range.
|
virtual |
Getter/Setter for custom frequency ranges.
|
virtual |
Accessor for the number of custon frequency ranges.
|
virtual |
Removes all custom frequency ranges.
| void makVrv::DtSharedRadioCommunicationsSettings::setFromRecord | ( | const makArchives::DtRadioCommunicationsSettingsRecord & | rec | ) |
Restore the settings from a record.
| void makVrv::DtSharedRadioCommunicationsSettings::getRecord | ( | makArchives::DtRadioCommunicationsSettingsRecord & | rec | ) | const |
Get the settings as a record.
|
virtual |
Accessor for the settings backup (const).
Reimplemented from makVrv::DtSharedSettings.
|
virtual |
Accessor for the settings backup.
Reimplemented from makVrv::DtSharedSettings.
|
virtual |
Called to back up the settings.
Reimplemented from makVrv::DtSharedSettings.
|
static |
The class name for this settings object.
|
friend |
Use the DtReadSettingsLock to read the object.
|
friend |
Use the DtWriteSettingsLock to write to the object.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |