17#include <vrfmodel/radarObjectSensor.h>
18#include "vreVrfModel/vreSimComponent.h"
61 using DtSignatureObjectSensor::tick;
72 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
85 virtual bool init()
override;
92 virtual const char*
type()
const override;
Monitor for managing radar state information communication.
Definition radarStateMonitor.h:32
Radar object sensor descriptor for VREngage.
Definition vreRadarObjectSensorDescriptor.h:37
virtual bool createAndInitSensorMonitors() override
Creates and initializes sensor monitors.
DtVreRadarObjectSensor()
Default constructor (not implemented)
virtual void updateDetectionArea()
Updates the radar's detection area based on current settings.
static void setRadarSettingsCallback(DtSimMessage *msg, void *usrData)
Static callback function for radar settings messages.
virtual void clearDesignatedTargets()=0
Clears all designated targets from the radar.
const DtVreRadarObjectSensorDescriptor * myRadarObjectDescriptor
Pointer to the radar sensor descriptor.
Definition vreRadarObjectSensor.h:208
DtVreRadarObjectSensorPSR * myRadarObjectPsr
Pointer to the radar sensor process state repository.
Definition vreRadarObjectSensor.h:214
virtual int sensorType() const override
Gets the sensor type identifier.
virtual const char * defaultPSRType() const override
Gets the default process state repository type.
virtual void registerAttributeFunctions() override
Registers attribute provider functions.
virtual bool createAndInitRadarSettingsMonitor()
Creates and initializes the radar settings monitor.
virtual bool init() override
Initializes the radar sensor component.
const DtVreRadarObjectSensor & operator=(const DtVreRadarObjectSensor &orig)
Assignment operator (not implemented)
static DtReaderWriter * provideDesignatedTargetCallback(void *usrData)
Static callback function for designated target requests.
DtVreRadarObjectSensor(const DtVreRadarObjectSensor &orig)
Copy constructor (not implemented)
virtual ~DtVreRadarObjectSensor() override
Virtual destructor.
virtual void tick() override
Updates the radar sensor state each simulation frame.
DtVreRadarObjectSensor(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Constructor.
virtual DtReaderWriter * processProvideDesignatedTarget()=0
Provides information about the currently designated target.
virtual void processSetRadarSettings(DtSimMessage *msg)
Processes a radar settings message.
virtual const char * type() const override
Gets the type identifier for this component.
virtual void setDesignatedTargets(const std::vector< int > &trackIds)=0
Sets the list of designated targets for the radar.
DtRadarStateMonitor * myRadarStateMonitor
Pointer to the radar state monitor.
Definition vreRadarObjectSensor.h:202
Extended radar object sensor process state repository for VREngage.
Definition vreRadarObjectSensorPSR.h:34
DtVreSimComponent(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition vreSimComponent.h:54
Defines export macros for the vreVrfmodel library.
#define VREVRFMODEL_DLL
Definition export.h:22
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
const char DtVreRadarObjectSensorType[]
Type identifier for the VRE radar object sensor component.
Definition vreRadarObjectSensor.h:27