VR-Engage  2.2
Loading...
Searching...
No Matches
vreSensorInfoManager.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6//! \file vreSensorInfoManager.h
7//! \ingroup vreSensorInfoManager
8//! \brief Sensor information manager for VREngage
9//!
10//! This file defines the DtVreSensorInfoManager class, which manages information
11//! from various sensor types in the VREngage environment, including radar systems.
12//! It processes sensor data and provides access to sensor information for simulation
13//! entities.
14
15#pragma once
16
17#include "export.h"
18#include <vrfGuiCore/vrfSensorInfoManager.h>
19
20namespace makVre
21{
22//! \brief Sensor information manager for VREngage
23//!
24//! This class manages information from various sensors in the VREngage environment.
25//! It processes radar data and other sensor information, and provides mechanisms
26//! for starting and stopping the monitoring of sensor data for specific entities.
27class VRESENSORINFOMANAGER_DLL DtVreSensorInfoManager : public makVrf::DtVrfSensorInfoManager
28{
29public:
30 //! \brief Constructor
31 //! \param de The document environment providing access to application resources
32 //!
33 //! Initializes a new sensor information manager with the specified document environment.
34 DtVreSensorInfoManager(makVrv::DtDe& de);
35
36 //! \brief Destructor
37 //!
38 //! Cleans up resources used by the sensor information manager.
40
41protected:
42 //! \brief Processes radar data message
43 //! \param msg The simulation message containing radar data
44 //!
45 //! Processes a simulation message containing radar data and updates
46 //! the internal radar information state.
47 virtual void processRadarData(DtSimMessage* msg);
48
49 //! \brief Starts monitoring sensor information for an entity
50 //! \param entityId The UUID of the entity to monitor
51 //! \return Map of sensor information for the entity
52 //!
53 //! Starts monitoring sensor information for the specified entity and
54 //! returns the current sensor information map. This includes radar,
55 //! infrared, and other sensor data associated with the entity.
56 virtual DtVrfSensorInfoManager::DtSensorInformationMap startMonitoring(const DtUUID& entityId) override;
57
58 //! \brief Stops monitoring sensor information for an entity
59 //! \param entityId The UUID of the entity to stop monitoring
60 //! \return True if monitoring was successfully stopped, false otherwise
61 //!
62 //! Stops monitoring sensor information for the specified entity and
63 //! cleans up any associated resources.
64 virtual bool stopMonitoring(const DtUUID& entityId) override;
65};
66} // namespace makVre
virtual DtVrfSensorInfoManager::DtSensorInformationMap startMonitoring(const DtUUID &entityId) override
Starts monitoring sensor information for an entity.
virtual ~DtVreSensorInfoManager()
Destructor.
DtVreSensorInfoManager(makVrv::DtDe &de)
Constructor.
virtual bool stopMonitoring(const DtUUID &entityId) override
Stops monitoring sensor information for an entity.
virtual void processRadarData(DtSimMessage *msg)
Processes radar data message.
Export macros for the VREngage Sensor Information Manager library.
#define VRESENSORINFOMANAGER_DLL
Platform-specific DLL export/import declaration.
Definition export.h:28
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.