61 virtual const char*
type()
const;
96 virtual bool shouldHitTarget(
const DtVector& localStartPosition,
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
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
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 ...
virtual bool createPorts()
Creates the input ports and adds them to the component.
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:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
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:79
DtMissileLauncherActuatorDescriptor; descriptor for the DtLauncherActuator component.
Definition: missileLauncherActuatorDescriptor.h:21
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual bool init()
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
DtVector myCurrentTargetPoint
Definition: launcherActuator.h:152
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