43 virtual bool init()
override;
45 virtual bool createTargetListPort();
47 virtual bool createAimPointPort();
50 virtual bool createAllowTurnPort();
52 virtual bool createAimAtAnglePort();
56 virtual const char*
type()
const override;
58 virtual void tick()
override;
62 virtual bool haveTarget()
const;
69 virtual double findHeadingToCurrentTarget()
const;
73 virtual void selectATarget();
75 virtual bool inSector(
const DtSimObject* entity)
const;
81 virtual void setAcquire();
86 virtual void getWeaponProcessSR();
96 const DtVector& localEyepoint)
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
double myTimeAiming
Definition: humanAcquireController.h:176
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
virtual bool postAddComponentsInit() override
Calls enableTaskTypes()
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
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:49
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
DtOutputPortGroup is a data port group of a data provider. It may contain any number of DtOutputPorts...
Definition: outputPortGroup.h:34
Acquire controller for the human movement model. Causes a human to stop and turn toward a target...
Definition: humanAcquireController.h:27
virtual bool init() override
Calls setRadio()
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. The component is ticked once each simulation from ...
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. 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
virtual bool createPortGroups()
Called by init. Derived classes should override this method to create all their input/output port gro...
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
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
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:36
DtVrfBalGunPSR * myWeaponProcessState
Definition: humanAcquireController.h:178
A locally simulated VRF object.
Definition: localObject.h:98