57 virtual bool init()
override;
61 virtual const char*
type()
const override;
96 virtual bool shouldHitTarget(
const DtVector& localStartPosition,
97 const DtVector& localTargetPosition,
const DtVector& localInitialVelocity,
102 virtual bool useHitProbability(
const DtSimObject* targetObject)
const;
104 virtual const DtString& probabilityString()
const;
DtVectorInputPort * myTargetPointPort
Input Port Name: target-point Input Port Description: Local position of the target. Input Port Range: Input Port Default Value: Input Group Parent: weapon-control.
Definition: launcherActuator.h:144
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtLauncherActuator is a simple model of a missile launcher.
Definition: launcherActuator.h:39
Handle returned from Create Object Service calls.
Definition: createObjectHandle.h:12
virtual bool init() override
to get access to the entity's localStateRepository, which this component will update, and then connect to the controller's ports. Calls createPSR() to creat e
Definition: fireEvent.h:16
const DtWeaponActuator & operator=(const DtWeaponActuator &orig)
assignment operator; not implemented
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
DtMissileLauncherActuatorDescriptor * myMissileLauncherDesc
Definition: launcherActuator.h:120
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
DtWeaponActuator is a simple model of a ballistic gun.
Definition: weaponActuator.h:54
virtual void fireTheWeapon()
Calls createFireInteraction() and sends the resulting makVrfEvents::DtFireEvent through the exercise ...
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtStringInputPort * myTargetEntityIdPort
Input Port Name: target-entity Input Port Description: Object id of the target. Input Port Range: In...
Definition: launcherActuator.h:137
virtual makVrfEvents::DtFireEvent * createFireInteraction()
Creates and fills out a makVrfEvents::DtFireEvent. Returns a makVrfEvents::DtFireEvent.
DtStringInputPort * myMissileIdPort
Input Port Name: missile-id Input Port Description: Object id of the missile. Input Port Range: Inpu...
Definition: launcherActuator.h:130
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
static bool myDetonationCbackRegistered
Flag for indicating whether the detonation callback for munitions has been registered.
Definition: launcherActuator.h:150
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
DtMissileLauncherActuatorDescriptor; descriptor for the DtLauncherActuator component.
Definition: missileLauncherActuatorDescriptor.h:21
virtual bool createPorts() override
Creates the input ports and adds them to the component.
DtVector myCurrentTargetPoint
Definition: launcherActuator.h:152
A locally simulated VRF object.
Definition: localObject.h:98