17#include <vrfobjcore/simComponent.h>
61 using DtSimComponent::tick;
72 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
85 virtual bool init()
override;
92 virtual const char*
type()
const override;
133 static DtSimComponent*
creator(
const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
134 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
Radar Warning Receiver (RWR) descriptor for VREngage.
Definition radarWarningReceiverDescriptor.h:32
const DtRadarWarningReceiverDescriptor * myRwrDescriptor
Pointer to the component descriptor.
Definition radarWarningReceiver.h:188
virtual const char * defaultPSRType() const
Gets the default process state repository type.
virtual bool createPortGroups() override
Creates input and output port groups for the component.
virtual bool createAndInitRwrMonitor()
Creates and initializes the RWR monitor.
virtual void tick() override
Updates the component state each simulation frame.
DtRadarWarningReceiver(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Constructor.
virtual bool init() override
Initializes the radar warning receiver component.
DtRadarWarningReceiver(const DtRadarWarningReceiver &orig)
Copy constructor (not implemented)
virtual bool tickWhileDestroyed() const override
Determines if this component should tick while the entity is destroyed.
DtRadarWarningReceiver()
Default constructor (not implemented)
virtual DtRadarWarningReceiverPSR * createPSR()
Creates the process state repository for the component.
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Factory method to create a new instance of this component.
virtual const char * type() const override
Gets the type identifier for this component.
virtual bool createPorts() override
Creates input and output ports for the component.
virtual DtVreMessageResult handleRwrSetEnabledMessage(DtVreMessage *msg)
Handles messages to enable or disable the RWR.
DtRadarWarningReceiverPSR * myProcessState
Pointer to the radar warning receiver process state repository.
Definition radarWarningReceiver.h:182
virtual ~DtRadarWarningReceiver() override
Virtual destructor.
const DtRadarWarningReceiver & operator=(const DtRadarWarningReceiver &orig)
Assignment operator (not implemented)
virtual void preFirstTickInit() override
Performs initialization before the first simulation tick.
DtRwrMonitor * myMonitor
Pointer to the RWR monitor.
Definition radarWarningReceiver.h:195
Process state repository for radar warning receiver components.
Definition radarWarningReceiverPSR.h:44
Monitor for managing radar warning receiver (RWR) contact information.
Definition rwrMonitor.h:32
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
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 DtVreRadarWarningReceiverType[]
Type identifier for the VRE radar warning receiver component.
Definition radarWarningReceiver.h:25
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Defines the central message manager for the VREngage messaging system.