12 #include "vlutil/vlString.h"
44 virtual const char*
type()
const;
49 static void setAutoLaunchEnabledCallback(
DtSimMessage * msg,
void * usr);
57 virtual void processSetAutoLaunchEnabled(
DtSimMessage* msg);
90 virtual bool launchExpendableResources(
int numberToFire);
96 virtual bool createPSR();
102 virtual bool autoLaunchTriggered();
106 virtual void setupAutoLaunchTriggerList();
107 virtual void setUpAutoLaunchTaskFromDescriptor();
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
int myNumberPerInterval
Definition: launchExpendableResourceController.h:121
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual void registerTaskMsgCallbacks()
DtLaunchExpendableResourceTask represents a launching task where by the entity will launch the specif...
Definition: launchExpendableResourceTask.h:30
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:20
DtLaunchExpendableResourceControllerDescriptor; descriptor for the DtLaunchExpendableResourceControll...
Definition: launchExpendableResourceControllerDescriptor.h:41
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
virtual const char * type() const =0
Returns a string identifies the class type of component.
virtual bool init()
Calls setRadio()
virtual void taskComplete(bool success=true)
If we are currently tasked, this will cause us to notify the entity that we're done and delete the ta...
DtLaunchExpendableResourcePSR * myProcessState
Saved out in the Order of Battle file(.oob).This will save out how many resources we have left to fir...
Definition: launchExpendableResourceController.h:117
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
Definition: objectType.h:27
DtManagedObjectListConstPtr myAutoDetectObjectsList
Definition: launchExpendableResourceController.h:124
DtString myResourceName
Definition: launchExpendableResourceController.h:120
DtLaunchExpendableResourceTask * myAutoLaunchTask
Definition: launchExpendableResourceController.h:122
const DtLaunchExpendableResourceControllerDescriptor * myDesc
Definition: launchExpendableResourceController.h:113
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component.
virtual DtSimTaskStatePtr currentTaskState() const
End User Description: This controller handles DtLaunchExpendableResourceTask tasks.
Definition: launchExpendableResourceController.h:25
double myTimeInterval
Definition: launchExpendableResourceController.h:119
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
DtBoost::shared_ptr< const DtManagedObjectList > DtManagedObjectListConstPtr
Typedef for a shared pointer to a const DtOrgViewManagedObjectList.
Definition: managedObjectList.h:31
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
class DtLaunchExpendableResourcePSR:
Definition: launchExpendableResourcePSR.h:24
A DtTaskMsg is a DtRadioMsg with a pointer to a task.
Definition: taskMessage.h:19
Contains the DtMunitionResource class declaration.
Definition: munitionResource.h:24