![]() |
VR-Forces 4.8 Class Documentation
|
The Master DtVrfBackendSettingsManager. More...

Public Member Functions | |
| DtVrfBackendSettingsManager (makVrv::DtDe &) | |
| virtual | ~DtVrfBackendSettingsManager () |
| virtual void | monitorBackendSetting (const std::string &) |
| Sets up to monitor the particular setting. More... | |
| virtual void | requestBackendSetting (const std::string &, bool sendRequest=false, const DtSimulationAddress &addr=DtSimSendToAll) |
| Request the value of a back-end setting from the DtVrfSimSettingsManager. More... | |
| virtual void | stopMonitoringBackendSetting (const std::string &) |
| Stops monitoring. If this is the last request, will not send a changed signal. More... | |
| virtual void | sendSettings (const DtSettingsObject *, const DtSimulationAddress &addr=DtSimSendToAll) |
| Modify the value of a back-end settings object. More... | |
| virtual void | setDRThresholds (double translation, double rotation) |
| General settings that can be sent to the back-end. More... | |
| virtual void | setSpotReportsGloballyEnabled (bool enabled) |
| Sets the global state of spot reports - all entities set to use the global setting (which is the default) will obey this value. More... | |
| virtual void | setTDLMessagesGloballyEnabled (bool enabled) |
| Sets the global state of TDL messages - all entities set to use the global setting (which is the default) will obey this value. More... | |
| virtual void | setEngagementReportsGloballyEnabled (bool enabled) |
| Sets the global state of engagement reports - all entities set to use the global setting (which is the default) will obey this value. More... | |
| virtual void | setCommModelSettings (bool useExternalComms) |
| Set the comm model settings to be used by entities that have radios. More... | |
| virtual void | setRoadDrivingSettings (bool driveOnLeft) |
| Set which side of the road entities drive on. More... | |
| virtual void | setRadarCoverageAltitudeSettings (const DtRadarCoverageAltitudeSettings &) |
| Sets the altitude and colors for those altitudes. More... | |
| virtual void | setRadarCoverageAltitudeMSL (bool) |
| Whether or not the 2D radar coverage altitude is in MSL or AGL. More... | |
| virtual void | setAutomaticAggregationDisaggregationEnabled (bool enabled) |
| Sets whether or not automatic aggregation/disaggregation should be enabled. More... | |
| virtual void | setPublishAggregateFormationRoutes (bool yesNo) |
| Sets whether or not aggregate formation-following routes should be published. More... | |
| virtual void | setPeriodicSnapshotSettings (bool enabled, double period, int numberOfSnapshotsToKeep) |
| Sets whether or not periodic snapshots are enabled and the time period (simulation time in seconds) for marking a checkpoint. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtVrfBackendSettingsManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. More... | |
Public Attributes | |
| boost::signals2::signal< void(const std::string &, const DtVrfBackendState *)> | signal_settingReceived |
Protected Member Functions | |
| virtual void | processSettingMessage (DtSimMessage *) |
| virtual void | slot_processPendingRequests () |
| Called when initialized, process any pending requests. More... | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| std::map< std::string, int > | myMonitoring |
| std::map< std::string, int > | myRequesting |
| std::set< std::string > | myPendingRequests |
| If de not yet initialized, hold onto pending requests until initialized. More... | |
The Master DtVrfBackendSettingsManager.
| makVrf::DtVrfBackendSettingsManager::DtVrfBackendSettingsManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
virtual |
Sets up to monitor the particular setting.
When the particular setting is received a signal is sent (signal_settingReceived) for that signal and the back-end that sent the message. Note this message might be sent for multiple back-ends
|
virtual |
Request the value of a back-end setting from the DtVrfSimSettingsManager.
By default the request is sent to all available back-ends, but it can also be targeted to individual back-ends. The request is added to myBackendSettingRequestMap and when responses for all the requested back-ends have been received the given DtBackEndSettingRequestCompleteCallbackFcn will be called with the given user data to indicate that the back-ends can now be interrogated for the setting.
|
virtual |
Stops monitoring. If this is the last request, will not send a changed signal.
|
virtual |
Modify the value of a back-end settings object.
The object's name must exist on the back-end(s) receiving the modification message.
|
virtual |
General settings that can be sent to the back-end.
Set the dead reckoning settings to be used by any entities that allow gui overrides. Note this does not set the aggregate dimension threshold.
|
virtual |
Sets the global state of spot reports - all entities set to use the global setting (which is the default) will obey this value.
|
virtual |
Sets the global state of TDL messages - all entities set to use the global setting (which is the default) will obey this value.
|
virtual |
Sets the global state of engagement reports - all entities set to use the global setting (which is the default) will obey this value.
|
virtual |
Set the comm model settings to be used by entities that have radios.
|
virtual |
Set which side of the road entities drive on.
|
virtual |
Sets the altitude and colors for those altitudes.
If there are radar coverage objects being created they will be recreated in response to this message
|
virtual |
Whether or not the 2D radar coverage altitude is in MSL or AGL.
|
virtual |
Sets whether or not automatic aggregation/disaggregation should be enabled.
Default is false.
|
virtual |
Sets whether or not aggregate formation-following routes should be published.
Turning off publishing of these routes can improve performance, if the aggregates are large (individual routes are generated for each member in an aggregate).
|
virtual |
Sets whether or not periodic snapshots are enabled and the time period (simulation time in seconds) for marking a checkpoint.
|
protectedvirtual |
|
protectedvirtual |
Called when initialized, process any pending requests.
| boost::signals2::signal<void (const std::string&, const DtVrfBackendState*)> makVrf::DtVrfBackendSettingsManager::signal_settingReceived |
|
protected |
|
protected |
|
protected |
|
protected |
If de not yet initialized, hold onto pending requests until initialized.