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<DtString>& resourceList);
class DtIfPlan:
Definition: ifPlan.h:61
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 void tick()
Tick Function. When the component has a launch munition task and at least the minimum-time-between-la...
virtual const char * type() const
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
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 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:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
virtual bool init()
Initialize the component. Calls createPSR() and registerRadioMessageCallbacks()
DtLoiterMunitionLaunchController models launch of a loiter munition.
Definition: loiterMunitionLaunchController.h:35
virtual void setComponentDescriptor(DtComponentDescriptor *compDesc)
Overridden to get the specialized DtMunitionLaunchControllerDescriptor.
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. 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