14 #include <vl/hostStructs.h>
59 virtual const char*
type()
const;
91 virtual bool shouldHitTarget(
const DtVector& localStartPosition,
97 virtual bool useHitProbability(
const DtVrfObject *targetObject)
const;
99 virtual const DtString& probabilityString()
const;
DtVectorInputPort * myTargetPointPort
Input Port Name: target-point Input Port Description: Local position of the target.
Definition: launcherActuator.h:139
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtLauncherActuator is a simple model of a missile launcher.
Definition: launcherActuator.h:37
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:42
Definition: readerWriterRegistry.h:39
DtMissileLauncherActuatorDescriptor * myMissileLauncherDesc
Definition: launcherActuator.h:115
DtObjectIdInputPort * myMissileIdPort
Input Port Name: missile-id Input Port Description: Object id of the missile.
Definition: launcherActuator.h:125
DtWeaponActuator is a simple model of a ballistic gun.
Definition: weaponActuator.h:50
virtual void fireTheWeapon()
Calls createFireInteraction() and sends the resulting DtFireInteraction through the exercise connecti...
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtObjectIdInputPort * myTargetEntityIdPort
Input Port Name: target-entity Input Port Description: Object id of the target.
Definition: launcherActuator.h:132
virtual bool createPorts()
Creates the input ports and adds them to the component.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
static bool myDetonationCbackRegistered
Flag for indicating whether the detonation callback for munitions has been registered.
Definition: launcherActuator.h:145
DtMissileLauncherActuatorDescriptor; descriptor for the DtLauncherActuator component.
Definition: missileLauncherActuatorDescriptor.h:21
virtual DtFireInteraction * createFireInteraction()
Creates and fills out a DtFireInteraction. Returns a DtFireInteraction.
virtual const char * type() const
Returns a string identifies the class type of component.
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
virtual bool init()
to get access to the entity's localStateRepository, which this component will update, and then connect to the controller's ports.
DtVector myCurrentTargetPoint
Definition: launcherActuator.h:147