14 #include <vl/fireInteraction.h>
45 virtual bool createTargetListPort();
47 virtual bool createAimPointPort();
50 virtual bool createAllowTurnPort();
52 virtual bool createAimAtAnglePort();
56 virtual const char*
type()
const;
62 virtual bool haveTarget()
const;
69 virtual double findHeadingToCurrentTarget()
const;
73 virtual void selectATarget();
75 virtual bool inSector(
const DtVrfObject* entity)
const;
81 virtual void setAcquire();
86 virtual void getWeaponProcessSR();
90 virtual const DtVrfObject* chooseTarget(
const DtEntityTargetList& targetList)
const;
95 virtual bool targetVisible(
const DtVrfObject* targetObj,
96 const DtVector& localEyepoint)
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool postAddComponentsInit()
Called after all components have been created, initialized and added to the component manager...
Definition: simComponent.h:144
double myTimeAiming
Definition: humanAcquireController.h:176
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtOutputPortGroup * myAimWeaponControlPortGroup
Output Port Group Name: aim-weapon-control Output Port Group Description: .
Definition: humanAcquireController.h:147
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
DtBooleanOutputPort * myForbidTurnPort
Output Port Name: forbid-turn Output Port Description: Indicates whether the entity can be turned to ...
Definition: humanAcquireController.h:163
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
DtBooleanOutputPort * myAimAtAnglePort
Output Port Name: aim-at-angle Output Port Description: Indicates whether the aim controller should a...
Definition: humanAcquireController.h:171
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
DtVectorOutputPort * myAimPointPort
Output Port Name: aim-point Output Port Description: Only active when acquiring a target...
Definition: humanAcquireController.h:155
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
DtOutputPortGroup is a data port group of a data provider.
Definition: outputPortGroup.h:30
virtual bool init()
Calls setRadio()
Acquire controller for the human movement model.
Definition: humanAcquireController.h:27
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
Instances of DtVectorOutputPort are output ports through which data producers can send a DtVector...
Definition: vectorIOPort.h:52
const DtIndividualLifeformAcquireDescriptor * myAcquireDescriptor
Definition: humanAcquireController.h:179
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component.
double myTimeRequiredToAim
Definition: humanAcquireController.h:177
DtEntityListInputPort * myTargetListPort
Input Port Name: target-list Input Port Description: Input Port Range: Input Port Default Value: I...
Definition: humanAcquireController.h:143
bool myAcquiring
Definition: humanAcquireController.h:175
virtual bool createPorts()
Called by init.
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:29
virtual bool createPortGroups()
Called by init.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
Instances of DtIntegerOutputPort are output ports through which data producers can send integer value...
Definition: integerIOPort.h:45
Class DtVrfBalGunPSR: Used to hold checkpointable state for the processes associated with ballistic g...
Definition: vrfBalGunPSR.h:38
DtVrfBalGunPSR * myWeaponProcessState
Definition: humanAcquireController.h:178