|
VR-Engage
2.3
|
This class manages information from various sensors in the VREngage environment. It processes radar data and other sensor information, and provides mechanisms for starting and stopping the monitoring of sensor data for specific entities.
#include <vreSensorInfoManager.h>
Public Member Functions | |
| DtVreSensorInfoManager (makVrv::DtDe &de) | |
| virtual | ~DtVreSensorInfoManager () |
Protected Member Functions | |
| virtual void | processRadarData (DtSimMessage *msg) |
| virtual void | subscribe (const DtUUID &entityId) override |
| virtual void | unsubscribe (const DtUUID &entityId) override |
| makVre::DtVreSensorInfoManager::DtVreSensorInfoManager | ( | makVrv::DtDe & | de | ) |
Constructor.
| de | The document environment providing access to application resources |
Initializes a new sensor information manager with the specified document environment.
References de().
|
virtual |
Destructor.
Cleans up resources used by the sensor information manager.
|
protectedvirtual |
Processes radar data message.
| msg | The simulation message containing radar data |
Processes a simulation message containing radar data and updates the internal radar information state.
|
overrideprotectedvirtual |
Subscribes to sensor information for an entity.
| entityId | The UUID of the entity to monitor |
Overridden to send the VRE-specific DtIfRadarStateRequest in addition to the base-class DtIfSensorDataRequest, so radar contact data from VR-Engage aircraft is delivered alongside standard sensor data.
|
overrideprotectedvirtual |
Unsubscribes from sensor information for an entity.
| entityId | The UUID of the entity to stop monitoring |
Overridden to send the VRE-specific DtIfRadarStateUnsubscribe in addition to the base-class DtIfSensorDataUnsubscribe.