58 virtual const char*
type()
const override;
61 virtual bool init()
override;
65 static void launchLoiterMunitionCallback(
DtSimMessage* msg,
void* usrData);
66 virtual void processLaunchLoiterMunition(
DtSimMessage* msg);
75 virtual void tick()
override;
90 virtual void getMunitionResources(std::list<DtEntityType>& resourceList);
class DtIfPlan:
Definition: ifPlan.h:61
virtual bool init() override
Initialize the component. Calls createPSR() and registerRadioMessageCallbacks()
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
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void registerTaskMsgCallbacks()
Holds a position of some form. May be an absolute position, or a reference to another object...
Definition: rwLocationReference.h:25
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual DtIfPlan createMunitionPlan(const DtUUID &munition)
Creates a new plan for the munition using the task saved in this controller. In this base munition la...
Definition: readerWriterRegistry.h:39
virtual void tick() override
Tick Function. When the component has a launch munition task and at least the minimum-time-between-la...
DtGenericWeaponInfo * myWeaponInfo
Definition: loiterMunitionLaunchController.h:110
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: loiterMunitionLaunchController.h:106
An implementation of DtWeaponInforInterface that allows for flexible registering of functions from ot...
Definition: genericWeaponInfo.h:17
File: simMsg.h.
Definition: simMessage.h:35
DtMunitionLaunchController models launch of a munition.
Definition: munitionLaunchController.h:49
virtual void setComponentDescriptor(DtComponentDescriptor *compDesc) override
Overridden to get the specialized DtMunitionLaunchControllerDescriptor.
virtual DtUUID getTargetFromTaskMessage(const DtTaskMessage *tm) const
Gets the target name from the task message. Used in createAndSend FireInteraction. Can be different for classes that override this one, if their task messages are different.
class DtLaunchLoiterMunitionPSR:
Definition: launchLoiterMunitionPSR.h:18
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
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
DtLoiterMunitionLaunchController models launch of a loiter munition.
Definition: loiterMunitionLaunchController.h:35
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtMunitionLaunchController & operator=(const DtMunitionLaunchController &orig)
Not implemented.
DtLaunchLoiterMunitionPSR * pMyProcessState
PSR for task.
Definition: loiterMunitionLaunchController.h:109
A DtTaskMsg is a DtRadioMsg with a pointer to a task. The type of the taskMsg is just the type of the...
Definition: taskMessage.h:21
virtual DtSetWarheadInfo createWarheadInfo(DtVrfLocalObjectCreateInformation &info, const DtString &eventId) const
Sets parameters of the warhead in a SetDataRequestMessage. In this base munition launcher, the only information that is set is attacker, event ID, the warhead type and fuze type. The latter two come from the controller descriptor. Derived launchers can override this function to set different parameters. Also, other controllers and scripts can send additional set-warhead-info messages to the munition to change the warhead info.
File: setWarheadInfo.h.
Definition: setWarheadInfo.h:40
A locally simulated VRF object.
Definition: localObject.h:98