16 #include <vlutil/vlString.h>
24 struct DtEmitterSystemBeamStateData;
61 virtual const char*
type()
const;
109 virtual void setOn(
bool onOff);
110 virtual bool on()
const;
112 virtual void setMountLocation(
const DtVector &location);
113 virtual DtVector mountLocation()
const;
115 virtual void setSystemNameEnum(DtEmitterSysName nameEnum);
116 virtual DtEmitterSysName systemNameEnum()
const;
118 virtual void setSystemFunction(DtEmissionFunc functionEnum);
119 virtual DtEmissionFunc systemFunction()
const;
134 virtual bool createAndInitEmitterSystem();
137 virtual void updateFromDescriptor();
140 virtual std::vector<makVrf::DtEmitterSystemBeamStateData>& beamList();
146 static void setEmitterRequestCallback(
DtSimMessage *msg,
void * usrData);
150 virtual void processSetEmitterRequestMessage(
DtSimMessage *msg);
158 static void requestRadarModesAdminCallback(
161 void processRequestRadarModesAdmin(
const DtUUID& receiver,
171 virtual bool createPSR();
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
const DtJammerEmitterDescriptor * myDescriptor
Definition: jammerController.h:182
virtual void enable() override
Enables the component and resends capable tasks and sets.
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
TMP #include "vrftasks/setJammer.h".
Definition: jammerPSR.h:22
Definition: readerWriter.h:85
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtJammerPSR * myProcessState
Definition: jammerController.h:181
virtual void disable()
Is this component enabled or not. If enabled, component's tick function will be called, otherwise it will not. Default is true (enabled).
DtVrfEmitterSystem manages a VR-Link emitter system publisher, and sets all the values associated wit...
Definition: vrfEmitterSystem.h:40
virtual bool init() override
Calls setRadio()
DtVrfEmitterSystem * myEmitterSystem
Local copies of the emitter information. Not saved in the PSR, but restored on scenario reload...
Definition: jammerController.h:187
End User Description: DtJammerController turns the jammer on and off using Set commands. It also publishes emitter info. Developer Description: The DtJammerController class extends the base DtControllerComponent. It does not implement any tasks, but implements sets for turning comms and radar jamming on and off. It uses some of the same code as DtEmmitterComponent.
Definition: jammerController.h:33
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
virtual bool tickWhileDestroyed() const
If the component returns true here, it will be ticked regardless of the destroyed state of the host e...
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
DtJammerEmitterDescriptor is a descriptor for an emitter with additional parameters for comms and rad...
Definition: jammerEmitterDescriptor.h:18
bool myStateRestored
Set to true once previously checkpointed state (if any) is restored.
Definition: jammerController.h:189
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86