VR-Engage  2.3
Loading...
Searching...
No Matches
makVre::DtVreSensorInfoManager Class Reference

Detailed Description

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>

Inheritance diagram for makVre::DtVreSensorInfoManager:
[legend]

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
 

Constructor & Destructor Documentation

◆ DtVreSensorInfoManager()

makVre::DtVreSensorInfoManager::DtVreSensorInfoManager ( makVrv::DtDe & de)

Constructor.

Parameters
deThe document environment providing access to application resources

Initializes a new sensor information manager with the specified document environment.

References de().

◆ ~DtVreSensorInfoManager()

virtual makVre::DtVreSensorInfoManager::~DtVreSensorInfoManager ( )
virtual

Destructor.

Cleans up resources used by the sensor information manager.

Member Function Documentation

◆ processRadarData()

virtual void makVre::DtVreSensorInfoManager::processRadarData ( DtSimMessage * msg)
protectedvirtual

Processes radar data message.

Parameters
msgThe simulation message containing radar data

Processes a simulation message containing radar data and updates the internal radar information state.

◆ subscribe()

virtual void makVre::DtVreSensorInfoManager::subscribe ( const DtUUID & entityId)
overrideprotectedvirtual

Subscribes to sensor information for an entity.

Parameters
entityIdThe 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.

◆ unsubscribe()

virtual void makVre::DtVreSensorInfoManager::unsubscribe ( const DtUUID & entityId)
overrideprotectedvirtual

Unsubscribes from sensor information for an entity.

Parameters
entityIdThe UUID of the entity to stop monitoring

Overridden to send the VRE-specific DtIfRadarStateUnsubscribe in addition to the base-class DtIfSensorDataUnsubscribe.


The documentation for this class was generated from the following file: