42 virtual const char*
type()
const;
47 static void setAimingPointCallback(
DtSimMessage * msg,
void * usr);
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
DtBooleanOutputPort * myAimAtAnglePort
Output Port Name: aim-at-angle Output Port Description: Indicates that aiming should be done using th...
Definition: aimAtPointController.h:105
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
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()
DtAimAtPointControllerPSR is a process state repository which holds state variables for the DtAimAtPo...
Definition: aimAtPointControllerPSR.h:22
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
DtAnalogOutputPort * myAimAzimuthPort
Output Port Name: aim-azimuth Output Port Description: The azimuth at which to aim the weapon...
Definition: aimAtPointController.h:111
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component.
virtual bool createPorts()
Called by init.
DtBooleanOutputPort * myForbidBaseRotationPort
Output Port Name: forbid-base-rotation Output Port Description: Predicate indicates whether the aimin...
Definition: aimAtPointController.h:126
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:29
virtual bool createPortGroups()
Called by init.
DtVectorOutputPort * myAimPointPort
Output Port Name: aim-point Output Port Description: The point at which to aim the weapon...
Definition: aimAtPointController.h:98
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
DtAimAtPointControllerPSR * myProcessState
Definition: aimAtPointController.h:85
This class is responsible for handling requests to aim at a particular point.
Definition: aimAtPointController.h:22
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
DtOutputPortGroup * myAimWeaponControlPortGroup
Output Port Group Name: aim-weapon-control Output Port Group Description: .
Definition: aimAtPointController.h:92
DtAnalogOutputPort * myAimElevationPort
Output Port Name: aim-elevation Output Port Description: The elevation at which to aim the weapon...
Definition: aimAtPointController.h:117