![]() |
VR-Forces 4.7 Class Documentation
|
This class will maintain settings regarding radio communications. More...

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