26 class DtLaserDesignatorStateComponent;
59 virtual const char*
type()
const;
73 virtual bool createPSR();
95 virtual void addRangeItems();
101 virtual bool missileResourceAvailable()
const;
104 virtual void consumeMissileResource();
113 const DtString& eventId,
const std::map<DtString, DtString>& extendedData = std::map<DtString, DtString>());
137 DtVector& targetLocalPosition)
const;
144 virtual bool munitionLoaded()
const;
148 virtual DtVector launcherGeocentricPosition()
const;
152 virtual DtVector launcherLocalPosition()
const;
155 virtual bool missileInFlight();
158 virtual int defaultLaserCode()
const;
161 virtual bool permissionToFire(
const DtVector& localSpotPosition)
const;
168 static void setLaserCodeRequestCallback(
DtSimMessage* msg,
void* usrData);
169 virtual void processSetLaserCodeRequestMessage(
DtSimMessage* msg);
175 static void setSyncLaserCodeCallback(
DtSimMessage* msg,
void* usr);
176 virtual void processSetSyncLaserCode(
DtSimMessage* msg);
#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
Handle returned from Create Object Service calls.
Definition: createObjectHandle.h:12
This repository holds all information that is common to all the forms of missile entities within the ...
Definition: missileStateRepository.h:33
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
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
virtual bool init()
Calls setRadio()
DtMovementLocalObjectFacade myMovementLocalObjectFacade
Definition: laserGuidedLauncherController.h:220
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:56
Instances of DtVectorOutputPort are output ports through which data producers can send a DtVector...
Definition: vectorIOPort.h:52
DtLaserLauncherPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: laserGuidedLauncherController.h:198
virtual void setComponentDescriptor(DtComponentDescriptor *componentDescriptor)
The component descriptor specified in the order of battle file or parameter file that was used to cre...
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 createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
File: laserLauncherPSR.h.
Definition: laserLauncherPSR.h:33
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
virtual void registerAttributeFunctions()
Called to register functions that provide system attribute values. Called by init(). Empty in this class. Overridden in different components to add attribute provider functions.
Definition: simComponent.h:112
End User Description: This is a missile launcher controller/actuator combination (does not need to be...
Definition: laserGuidedLauncherController.h:36
const DtIntegratedLaserGuidedLauncherDescriptor * myDescriptor
Pointer to my descriptor.
Definition: laserGuidedLauncherController.h:194
DtIntegratedLaserGuidedLauncherDescriptor, descriptor for the DtBallisticGunController component...
Definition: integratedLaserGuidedLauncherDescriptor.h:22
bool myTargetWasFoundLastTick
A state variable to remember that a target was found the tick before the current tick; used to delay ...
Definition: laserGuidedLauncherController.h:215
bool myWasTaskedToFireAtTarget
Will be set to true if permissionToFire was because of a fire at target task.
Definition: laserGuidedLauncherController.h:218
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