23 class DtEntityListPort;
24 class DtSimIndividualLocalEntity;
76 virtual const char*
type()
const override;
85 virtual void tick()
override;
88 virtual bool inSector(
const DtSimObject* entity)
const;
115 virtual void lookupAndCacheProcessSR();
136 bool *dataAvailable = 0) ;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
The DtTurretAcquireController attempts to slew the turret to track targets.
Definition: turretAcquireController.h:58
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
virtual bool postAddComponentsInit() override
Calls enableTaskTypes()
DtEntityListInputPort * myTargetListPort
Input Port Name: target-list Input Port Description: List of detected hostile targets. Input Port Range: Input Port Default Value: Input Group Parent:
Definition: turretAcquireController.h:169
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
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
File: turBalGunPSR.h.
Definition: vrfTurretedBalGunPSR.h:26
const DtTurretAcquireControllerDescriptor * myTurretAcquireControllerDescriptor
Definition: turretAcquireController.h:217
DtIntegerOutputPort * myLosPort
Output Port Name: line-of-sight Output Port Description: Indicates if a LOS calculation was performed...
Definition: turretAcquireController.h:177
Instances of DtVectorOutputPort are output ports through which data producers can send a DtVector...
Definition: vectorIOPort.h:52
DtBooleanOutputPort * myForbidTurnPort
Output Port Name: forbid-turn Output Port Description: Indicates whether the entity can be turned to ...
Definition: turretAcquireController.h:197
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 ...
DtVrfTurretedBalGunPSR * myProcessState
Pointer to a process state repository used to store state data associated with this component...
Definition: turretAcquireController.h:159
DtVectorOutputPort * myAimPointPort
Output Port Name: aim-point Output Port Description: Only active when acquiring a target...
Definition: turretAcquireController.h:189
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
DtBooleanOutputPort * myAllowAzimuthAimingPort
Output Port Name: allow-azimuth-aiming Output Port Description: Indicates whether the aim-controller ...
Definition: turretAcquireController.h:213
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
A DtComponentDescriptor that has a flag to indicate whether or not line of sight should be checked...
Definition: turretAcquireControllerDescriptor.h:40
Instances of DtIntegerOutputPort are output ports through which data producers can send integer value...
Definition: integerIOPort.h:45
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: turretAcquireController.h:223
DtOutputPortGroup * myAimWeaponControlPortGroup
Output Port Group Name: aim-weapon-control Output Port Group Description: .
Definition: turretAcquireController.h:181
bool myNoLosWarningWasGiven
Remember if this debug message has already been printed.
Definition: turretAcquireController.h:220
A locally simulated VRF object.
Definition: localObject.h:98
DtBooleanOutputPort * myAimAtAnglePort
Output Port Name: aim-at-angle Output Port Description: Indicates whether the aim controller should a...
Definition: turretAcquireController.h:205