52 virtual const char*
type()
const;
80 virtual void lookupAndCacheProcessSR();
98 virtual double periodicToNumberLine(
const double testBearing,
99 double& leftBearing,
double& rightBearing);
DtAnalogInputPort * myAimAzimuthInputPort
Input Port Name: aim-azimuth Input Port Description: The azimuth at which to aim the weapon...
Definition: aimWeaponController.h:145
#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:146
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtIntegerOutputPort * myLifeformWeaponStatePort
Output Port Name: weapon-state Output Port Description: Output Port Range: Output Port Default Valu...
Definition: aimWeaponController.h:218
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
DtInputPortGroup * myAimWeaponControlPortGroup
Input Port Group Name: aim-weapon-control Input Port Group Description: .
Definition: aimWeaponController.h:125
DtAnalogInputPort * myAimElevationInputPort
Input Port Name: aim-elevation Input Port Description: The elevation at which to aim the weapon...
Definition: aimWeaponController.h:151
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
DtBooleanInputPort * myForbidTurnPort
Input Port Name: forbid-turn Input Port Description: Indicates whether the entity can be turned to fa...
Definition: aimWeaponController.h:159
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
DtBooleanOutputPort * myBaseAimAtAnglePort
Output Port Name: base-aim-at-angle Output Port Description: Expected to be connected to the aim-at-a...
Definition: aimWeaponController.h:191
virtual bool init()
Calls setRadio()
DtAimWeaponControllerDescriptor * myAimWeaponDescriptor
Definition: aimWeaponController.h:118
File: turBalGunPSR.h.
Definition: vrfTurretedBalGunPSR.h:26
bool myLastInAzimuthRange
Remembers whether the target location was in range last tick or not.
Definition: aimWeaponController.h:231
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
DtBooleanOutputPort * myWeaponAimedPort
Output Port Name: weapon-aimed Output Port Description: True if the weapon is currently aimed at a ta...
Definition: aimWeaponController.h:198
DtBooleanInputPort * myAimAtAnglePort
Input Port Name: aim-at-angle Input Port Description: Indicates that aiming should be done using the ...
Definition: aimWeaponController.h:139
virtual void tick()
This gives the thread of control to the component.
DtVectorInputPort * myAimPointPort
Input Port Name: aim-point Input Port Description: Local position to aim at.
Definition: aimWeaponController.h:132
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:29
DtAnalogOutputPort * myAimElevationOutputPort
Output Port Name: aim-elevation-output Output Port Description: The elevation at which to aim the wea...
Definition: aimWeaponController.h:205
DtVrfTurretedBalGunPSR * myProcessState
Pointer to a process state repository used to store state data associated with this component...
Definition: aimWeaponController.h:227
virtual bool createPorts()
Called by init.
DtAnalogOutputPort * myAimAzimuthOutputPort
Output Port Name: aim-azimuth-output Output Port Description: The azimuth at which to aim the weapon...
Definition: aimWeaponController.h:211
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
DtAnalogOutputPort * myFaceDirectionPort
Output Port Name: face-direction Output Port Description: The direction that the system (or body) tha...
Definition: aimWeaponController.h:182
DtBooleanInputPort * myAllowAzimuthAimingPort
Input Port Name: allow-azimuth-aiming Input Port Description: Indicates whether we should perform azi...
Definition: aimWeaponController.h:175
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
Instances of DtIntegerOutputPort are output ports through which data producers can send integer value...
Definition: integerIOPort.h:45
DtBooleanInputPort * myAllowElevationAimingPort
Input Port Name: allow-elevation-aiming Input Port Description: Indicates whether we should perform e...
Definition: aimWeaponController.h:167
Instances of DtAimWeaponControllerDescriptor are used to specify the parameters for a DtAimWeaponCont...
Definition: aimWeaponControllerDescriptor.h:17
This class is responsible for controlling the aiming of a weapon at a target point.
Definition: aimWeaponController.h:28