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
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:49
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
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. The component is ticked once each simulation from ...
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
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:31
virtual bool createPortGroups()
Called by init. Derived classes should override this method to create all their input/output port gro...
DtVectorOutputPort * myAimPointPort
Output Port Name: aim-point Output Port Description: The point at which to aim the weapon...
Definition: aimAtPointController.h:98
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
DtAimAtPointControllerPSR * myProcessState
Definition: aimAtPointController.h:85
This class is responsible for handling requests to aim at a particular point. The actual aiming is pe...
Definition: aimAtPointController.h:22
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
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86