![]() |
VR-Forces 4.10 Class Documentation
|

Classes | |
| struct | RadarCoverageVisual |
Public Types | |
| typedef std::map< double, DtVrfExtendedIntervisibilitySettingsData::Color > | ColorMap |
Public Member Functions | |
| DtRadarCoverageManager (makVrv::DtDe &) | |
| virtual | ~DtRadarCoverageManager () |
| virtual void | startMonitoring (const DtUUID &) |
| Calls to DtGuiThreadVrfRemoteController to start monitoring the radar coverage of the given entity. More... | |
| virtual bool | stopMonitoring (const DtUUID &, bool signal=true, bool beingRemoved=false) |
| Requests to stop monitoring for the specified entity. More... | |
| bool | monitoring (const DtUUID &uuid) const |
| Returns true if monitoring item. More... | |
| virtual void | loadDefaults (bool fromFactory=false) |
| Loads default or factory record. More... | |
| virtual void | saveAsDefaults () |
| Saves record as default record. More... | |
| const makVrv::DtRecordSettingsBackupInterface * | settingsBackup () const |
| makVrv::DtRecordSettingsBackupInterface * | settingsBackup () |
| void | exportSettings (const std::string &fileName) |
| Exports the current cache settings to a file. More... | |
| void | importSettings (const std::string &fileName) |
| Import the current cache settings from a file. More... | |
| void | setAutoSave (bool b) |
| bool | autoSave () const |
| virtual void | getRecord (DtRadarCoverageSettingsRecord &rec) const |
| virtual void | setFromRecord (const DtRadarCoverageSettingsRecord &rec) |
| virtual void | getSplitRecord (std::vector< DtRadarCoverageSettingsRecord > &rec, std::vector< std::string > &fileNames) |
| To support writing element definitions in folders as multiple files not implemented. More... | |
| virtual void | addRecords (DtRadarCoverageSettingsRecord &recs, DtRadarCoverageSettingsRecord &combinedRec) |
| To support writing element definitions in folders as multiple files not implemented. More... | |
| virtual void | setAlpha (double d) |
| The alpha that applies overall to radar coverage lines. More... | |
| virtual double | alpha () const |
| virtual void | setWaitingForServerColor (unsigned int) |
| Accessor/mutator for the color for waiting for server. More... | |
| virtual unsigned int | waitingForServerColor () const |
| virtual void | waitingForServerColorOSG (float &r, float &g, float &b, float &a) const |
| virtual void | setAltitudeMSL (bool) |
| Only valid for radar coverage view and only 2D calculations. More... | |
| virtual bool | altitudeMSL () const |
| virtual void | setRadarCoverageAltitudeMap (const ColorMap &) |
| Only valid for radar coverage 2D color calculations. This will set the value in the back-end when set. More... | |
| virtual const ColorMap & | radarCoverageAltitudeMap () const |
| virtual void | addRadarCoverageAltitude (double, unsigned int) |
| Adds a new color into the map. Repalces if exists. More... | |
| virtual bool | removeRadarCoverageAltitude (double) |
| Removes the altitude from the map and returns true if it was there. More... | |
| virtual void | setRadarCoverageAltitudeMap (const DtRadarCoverageAltitudeSettings::AltitudeMap &) |
| Sets the map. More... | |
| virtual void | setShowLabels (bool) |
| Whether or not to show labels with the radar coverage areas (labels are the display name of the sensor as defined in the ope/entity file) More... | |
| virtual bool | showLabels () const |
| virtual bool | hasRadarCoverage (const makVrv::DtSelectionManager::IdSet &) |
| Returns true if any objects in the id set have a sensor that can show a sensor info fan. More... | |
| virtual bool | hasRadarCoverage (makVrv::DtUniqueID) |
| virtual bool | isMonitoring () const |
| Returns true if any item is being monitored. More... | |
| virtual bool | isMonitoring (const DtUUID &) const |
| Returns true if the specific item is being monitored. More... | |
| virtual void | setKeyBackgroundColor (unsigned int) |
| virtual unsigned int | keyBackgroundColor () const |
| virtual void | keyBackgroundColorOSG (float &r, float &g, float &b, float &a) const |
| virtual void | setKeyFontColor (unsigned int) |
| virtual unsigned int | keyFontColor () const |
| virtual void | keyFontColorOSG (float &r, float &g, float &b, float &a) const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtRadarCoverageManager & | instance (makVrv::DtDe &de) |
| Returns instance of the DtVrfSensorInfoManager. More... | |
Public Attributes | |
| boost::signals2::signal< void(bool)> | signal_altitudeMSLChanged |
| boost::signals2::signal< void(float r, float g, float b, float a)> | signal_keyBackgroundColorChanged |
| boost::signals2::signal< void(float r, float g, float b, float a)> | signal_keyFontColorChanged |
| boost::signals2::signal< void(const ColorMap &)> | signal_radarCoverageAltitudesChanged |
| boost::signals2::signal< void(const DtUUID &)> | signal_radarCoverageMonitored |
| boost::signals2::signal< void(const DtUUID &)> | signal_radarCoverageStoppedMonitoring |
| boost::signals2::signal< void(double)> | signal_alphaChanged |
| boost::signals2::signal< void(float r, float g, float b, float a)> | signal_waitingColorChanged |
Protected Types | |
| typedef std::map< DtUUID, int > | MonitoringMap |
| typedef std::map < makVrv::DtUniqueID, DtUUID > | MonitoringByIdMap |
| typedef std::map< DtUUID, std::map< bool, int > > | RequestIds |
| typedef std::map< DtString, RadarCoverageVisual > | RadarCoverageVisuals |
| typedef std::map< DtUUID, RadarCoverageVisuals > | RadarCoverageVisualsMap |
| typedef std::map< bool, DtIfRadarCoverageInformationResponse * > | WaitingForVisuals |
| The first bool is 2D or 3D data. More... | |
| typedef std::map< DtUUID, WaitingForVisuals > | WaitingForVisualsMap |
| typedef std::map< DtUUID, std::map< bool, boost::signals2::connection > > | UpdateConnections |
Protected Member Functions | |
| virtual void | completeSetup () |
| virtual void | slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &entry) |
| virtual void | slot_settingReceived (const std::string &s, const DtVrfBackendState *state) |
| virtual void | processRadarCoverageAltitudeSettings (const DtRadarCoverageAltitudeSettings &) |
| virtual void | slot_radarCoverageEnabled (const DtUUID &, int) |
| virtual void | slot_setupRadarCoverage () |
| virtual void | slot_intervisibilityElementAboutToBeDestroyed (makVrv::DtIntervisibilityElement *) |
| virtual void | processRadarCoverageData (DtSimMessage *msg) |
| virtual void | processRadarCoverage (const DtIfRadarCoverageInformationResponse &s) |
| virtual bool | createRadarCoverageVisuals (const DtIfRadarCoverageInformationResponse &) |
| Will return true if creation was successful. More... | |
| virtual void | processWaitingVisuals () |
| virtual void | slot_onStateViewUpdated (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *stateView, DtIfRadarCoverageInformationResponse *) |
| typedef std::map<double, DtVrfExtendedIntervisibilitySettingsData::Color> makVrf::DtRadarCoverageManager::ColorMap |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The first bool is 2D or 3D data.
|
protected |
|
protected |
| makVrf::DtRadarCoverageManager::DtRadarCoverageManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the DtVrfSensorInfoManager.
|
virtual |
Calls to DtGuiThreadVrfRemoteController to start monitoring the radar coverage of the given entity.
|
virtual |
Requests to stop monitoring for the specified entity.
Returns true if no other items are monitoring this entity
Returns true if monitoring item.
|
virtual |
Loads default or factory record.
|
virtual |
Saves record as default record.
|
inline |
|
inline |
| void makVrf::DtRadarCoverageManager::exportSettings | ( | const std::string & | fileName | ) |
Exports the current cache settings to a file.
| void makVrf::DtRadarCoverageManager::importSettings | ( | const std::string & | fileName | ) |
Import the current cache settings from a file.
| void makVrf::DtRadarCoverageManager::setAutoSave | ( | bool | b | ) |
| bool makVrf::DtRadarCoverageManager::autoSave | ( | ) | const |
|
virtual |
|
virtual |
|
inlinevirtual |
To support writing element definitions in folders as multiple files not implemented.
|
inlinevirtual |
To support writing element definitions in folders as multiple files not implemented.
|
virtual |
The alpha that applies overall to radar coverage lines.
|
virtual |
|
virtual |
Accessor/mutator for the color for waiting for server.
|
virtual |
|
virtual |
Only valid for radar coverage view and only 2D calculations.
Whether altitudes are above MSL or AGL. This is a global back-end setting and will apply to all radar coverage objects
|
virtual |
|
virtual |
Only valid for radar coverage 2D color calculations. This will set the value in the back-end when set.
|
virtual |
|
virtual |
Adds a new color into the map. Repalces if exists.
Removes the altitude from the map and returns true if it was there.
|
virtual |
Sets the map.
|
virtual |
Accessor/mutator for key background color
|
virtual |
|
virtual |
Accessor/mutator for key font color
|
virtual |
|
virtual |
Whether or not to show labels with the radar coverage areas (labels are the display name of the sensor as defined in the ope/entity file)
|
virtual |
|
virtual |
Returns true if any objects in the id set have a sensor that can show a sensor info fan.
|
virtual |
|
virtual |
Returns true if any item is being monitored.
Returns true if the specific item is being monitored.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Will return true if creation was successful.
If not this will be put into a queue, as, for some reason the visuals do not yet exist and this must wait for the base simulation object visual to be present before it can be created
|
protectedvirtual |
|
protectedvirtual |
| boost::signals2::signal<void (bool)> makVrf::DtRadarCoverageManager::signal_altitudeMSLChanged |
| boost::signals2::signal<void (float r, float g, float b, float a)> makVrf::DtRadarCoverageManager::signal_keyBackgroundColorChanged |
| boost::signals2::signal<void (float r, float g, float b, float a)> makVrf::DtRadarCoverageManager::signal_keyFontColorChanged |
| boost::signals2::signal<void (const ColorMap&)> makVrf::DtRadarCoverageManager::signal_radarCoverageAltitudesChanged |
| boost::signals2::signal<void (const DtUUID&)> makVrf::DtRadarCoverageManager::signal_radarCoverageMonitored |
| boost::signals2::signal<void (const DtUUID&)> makVrf::DtRadarCoverageManager::signal_radarCoverageStoppedMonitoring |
| boost::signals2::signal<void (double)> makVrf::DtRadarCoverageManager::signal_alphaChanged |
| boost::signals2::signal<void (float r, float g, float b, float a)> makVrf::DtRadarCoverageManager::signal_waitingColorChanged |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |