![]() |
VR-Forces Developer's Guide
|

Static Public Member Functions | |
| static DtVrfSpotReportManager & | instance (makVrv::DtDe &de) |
Public Attributes | |
| boost::signals2::signal< void(const DtVrfSpotReportsSettingsRecord &)> | signal_spotReportOptionsChanged |
| boost::signals2::signal< void(bool)> | signal_spotReportsSelectableChanged |
| boost::signals2::signal< void(bool)> | signal_showTrackHistoryForSelectedItemsChanged |
| boost::signals2::signal< void(int)> | signal_numberOfTrackReportsChanged |
| boost::signals2::signal< void(bool)> | signal_keepReportsForTimePeriodChanged |
| boost::signals2::signal< void(int)> | signal_keepReportsForTimeChanged |
| boost::signals2::signal< void(double)> | signal_minimumVelocityVectorMagnitudeChanged |
| boost::signals2::signal< void(DtGuiLocalObject *)> | signal_spotReportCreated |
| boost::signals2::signal< void(DtGuiLocalObject *)> | signal_spotReportUpdated |
Public Attributes inherited from DtSpotReportManager | |
| boost::signals2::signal< void()> | signal_allSpotReportsRemoved |
| boost::signals2::signal< void(DtSpotReport *)> | signal_spotReportCreated |
| boost::signals2::signal< void(const DtUUID &)> | signal_contactDeleted |
| boost::signals2::signal< void(const DtUUID &)> | signal_spotterDeleted |
| boost::signals2::signal< void(const DtSpotReport *)> | signal_reportAboutToBeDeleted |
| boost::signals2::signal< void(const DtSpotReport *)> | signal_reportUpdated |
Additional Inherited Members | |
Public Types inherited from DtSpotReportManager | |
| using | SpotReportHandlersByC = std::map< DtUUID, std::unique_ptr< DtSpotReport >> |
| using | SpotReportHandlersBySC = std::map< DtUUID, SpotReportHandlersByC > |
Protected Types inherited from DtSpotReportManager | |
| using | SpotReportRequests = std::map< unsigned long, std::set< DtSimulationAddress >> |
| using | Observed = std::unordered_map< DtUUID, std::set< DtUUID >> |
| using | Perspectives = std::set< DtSpotReportPerspectiveInterface * > |
Protected Types inherited from DtVrfSingletonRoot | |
| using | Instances = std::map< std::string, DtVrfSingleton * > |
| makVrf::DtVrfSpotReportManager::DtVrfSpotReportManager | ( | makVrv::DtDe & | ) |
|
overridevirtual |
|
static |
Returns instance of the messager.
| void makVrf::DtVrfSpotReportManager::setAutoSave | ( | bool | b | ) |
| bool makVrf::DtVrfSpotReportManager::autoSave | ( | ) | const |
|
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 |
Emits signal to add FogOfWar filter with the new spot report settings.
|
virtual |
Shows the perspective (ground truth and spot reports) for the given force. The autoSave flag will determine if these settings are saved.
|
virtual |
Calls to current settings record to store the values. Will back up and auto save as necessary.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
The m/s an object needs to be travelling in order to show velocity indicator. Default is 13.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Whether or not to show track histories.
|
virtual |
|
virtual |
Whether or not to show track history lines for objects that are selected. Except for length, settings for track history are the same as entity track history lines.
|
virtual |
|
virtual |
The number of track reports to keep in memory for the track report history (default is 10)
|
virtual |
|
overridevirtual |
Reimplemented from DtSpotReportManager.
Reimplemented from DtSpotReportManager.
Returns true/false the the specified force should be shown for either spot reports or ground truth. If the internal list is empty will return true.
|
overridevirtual |
The time (simulation) used to gather spot reports before reporting to the GUI. Default is 5 simulation seconds.
Reimplemented from DtSpotReportManager.
|
overridevirtual |
Reimplemented from DtSpotReportManager.
|
virtual |
Whether or not to keep track reports for a given length of time.
|
virtual |
|
virtual |
If keeping reports for a time period, how long (in seconds) to keep the report around for. Default is 2 minutes.
|
virtual |
|
virtual |
Adds/removes items for the specified force items.
|
virtual |
| void makVrf::DtVrfSpotReportManager::setShowSpotReportsForForce | ( | const std::vector< int > & | ) |
| const std::vector<int> makVrf::DtVrfSpotReportManager::spotReportsFor | ( | ) | const |
|
virtual |
|
virtual |
| void makVrf::DtVrfSpotReportManager::setShowGroundTruthForForce | ( | const std::vector< int > & | ) |
| const std::vector<int> makVrf::DtVrfSpotReportManager::groundTruthFor | ( | ) | const |
Sets display flag to on/off.
|
virtual |
Sets the global state of spot reports - all entities set to use the global setting (which is the default) will obey this value.
| void makVrf::DtVrfSpotReportManager::setSystemEnabled | ( | bool | ) |
Set to false to disable the spot report and ground truth display system. If false, spot reports will not be displayed and ground truth will be displayed for all entities. Default is true.
| bool makVrf::DtVrfSpotReportManager::systemEnabled | ( | ) | const |
|
virtual |
Loads default or factory record.
|
virtual |
Saves record as default record.
|
inline |
|
inline |
| void makVrf::DtVrfSpotReportManager::exportSettings | ( | const std::string & | fileName | ) |
Exports the current cache settings to a file.
| void makVrf::DtVrfSpotReportManager::importSettings | ( | const std::string & | fileName | ) |
Import the current cache settings from a file.
|
virtual |
Adds a new filter to the fog of war filters list, replacing one that is already there with the same name. Emits signal_addFogOfWarFilter via the shared signaler.
|
virtual |
Removes fog of war filter with given name. Emits signal_removeFogOfWarFilter with given name, even if filter does not exist in list.
|
virtual |
Returns true if this item passes the fog of war filters and should be visible.
|
virtual |
|
virtual |
Returns true if the scenario event can be shown given the current fog of war and scenario event settings.
Blocks the sending of any signals.
|
virtual |
Set spot reports to be selectable. Default is false.
|
virtual |
|
overridevirtual |
Implements DtSpotReportManager.
|
overridevirtual |
Implements DtSpotReportManager.
|
virtual |
Once added, the external data visuals manager class will take ownership of the memory. If an existing handler is there for the supplied string, it will be replaced.
|
virtual |
|
virtual |
Checks global filters and accounts for spot reports.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
If you call this directly it will not change flags internally, so, if new modes are added and this is true, that mode will not show track histories.
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Overrides needed to implement specifics for network transport.
Implements DtSpotReportManager.
|
overrideprotectedvirtual |
Implements DtSpotReportManager.
|
overrideprotectedvirtual |
Implements DtSpotReportManager.
|
protectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from DtSpotReportManager.
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Implements DtSpotReportManager.
|
overrideprotectedvirtual |
Implements DtSpotReportManager.
|
overrideprotectedvirtual |
Implements DtSpotReportManager.
|
overrideprotectedvirtual |
Reimplemented from DtSpotReportManager.
| boost::signals2::signal<void (DtGuiLocalObject*)> makVrf::DtVrfSpotReportManager::signal_spotReportCreated |
Signals sent specifically for data objects that represent spot report data.
| boost::signals2::signal<void (DtGuiLocalObject*)> makVrf::DtVrfSpotReportManager::signal_spotReportUpdated |
Signals sent specifically for data objects that represent spot report data.
| boost::signals2::signal<void (const DtVrfSpotReportsSettingsRecord&)> makVrf::DtVrfSpotReportManager::signal_spotReportOptionsChanged |
Sent after anything about the spot report options have changed.
| boost::signals2::signal<void (bool)> makVrf::DtVrfSpotReportManager::signal_spotReportsSelectableChanged |
Sent after selectability of spot reports have changed. This is currently only able to be set via the API.
| boost::signals2::signal<void (bool)> makVrf::DtVrfSpotReportManager::signal_showTrackHistoryForSelectedItemsChanged |
Sent when whether or not track history for selected items have changed.
| boost::signals2::signal<void (int)> makVrf::DtVrfSpotReportManager::signal_numberOfTrackReportsChanged |
Sent when when the number of track reports to store have changed.
| boost::signals2::signal<void (bool)> makVrf::DtVrfSpotReportManager::signal_keepReportsForTimePeriodChanged |
Sent when when the way to time out reports have changed.
| boost::signals2::signal<void (int)> makVrf::DtVrfSpotReportManager::signal_keepReportsForTimeChanged |
Sent when when the time to keep reports has changed. Only sent if keeping reports for time period.
| boost::signals2::signal<void (double)> makVrf::DtVrfSpotReportManager::signal_minimumVelocityVectorMagnitudeChanged |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |