17 class DtReflectedDesignator;
23 class DtLaserDesignatorStateComponent;
55 virtual const char*
type()
const override;
65 virtual bool init()
override;
75 virtual bool createPSR();
91 virtual void tick()
override;
104 virtual DtUUID createBombObject(
const DtEntityType& type);
118 DtUUID& targetIdOut, DtVector& targetLocationOut);
140 virtual int defaultLaserCode()
const;
145 static void setSyncLaserCodeCallback(
DtSimMessage* msg,
void* usr);
146 virtual void processSetSyncLaserCode(
DtSimMessage* msg);
152 static void setLaserCodeRequestCallback(
DtSimMessage* msg,
void* usrData);
153 virtual void processSetLaserCodeRequestMessage(
DtSimMessage* msg);
160 virtual void createAndSendFireInteraction(
const DtSimObject* bomb,
162 const DtVector& targetLocation);
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
DtReleaseBombTask is the base class for all the other release bomb tasks. It is never used to launch ...
Definition: releaseBombTask.h:19
virtual const char * type() const override=0
Returns a string identifies the class type of component. Type values are defined in compTypes...
DtReleaseBombControllerDescriptor * myDescriptor
Definition: releaseBombController.h:173
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:22
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
Responds to release bomb tasks. This controller processes DtReleaseBombOnTarget, DtReleaseBombOnLocat...
Definition: releaseBombController.h:30
DtUUID myObjectPendingCreation
Definition: releaseBombController.h:170
DtReleaseBombControllerDescriptor; descriptor for the DtReleaseBombController component.
Definition: releaseBombControllerDescriptor.h:26
virtual bool init() override
Calls setRadio()
DtLaserLauncherPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: releaseBombController.h:167
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: laserDesignatorStateComponent.h:61
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 ...
File: laserLauncherPSR.h.
Definition: laserLauncherPSR.h:34
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:80
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Definition: releaseBombController.h:171
A locally simulated VRF object.
Definition: localObject.h:98