44 virtual const char*
type()
const;
49 static void setLookAtPointCallback(
DtSimMessage * msg,
void * usr);
75 static void nodHeadCallback(
DtSimMessage* msg,
void* usrData);
78 static void shakeHeadCallback(
DtSimMessage* msg,
void* usrData);
81 virtual void performLookAt();
82 virtual void performTask();
90 virtual void getTaskValues(
DtScriptedTaskTask* task,
double& minRange,
double& maxRange,
double& rate,
int& time);
#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
DtAnalogOutputPort * myNodOrShake
Output Port Name: nod-or-shake Output Port Description: Integer value that determines nod (1) or shak...
Definition: lookAtPointController.h:158
DtBooleanOutputPort * myLookAtAnglePort
Output Port Name: look-at-angle Output Port Description: Indicates that looking should be done using ...
Definition: lookAtPointController.h:130
DtAnalogOutputPort * myLookAtElevationPort
Output Port Name: look-at-elevation Output Port Description: The elevation at which to look at...
Definition: lookAtPointController.h:142
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
virtual void registerTaskMsgCallbacks()
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:20
DtVectorOutputPort * myLookAtPointPort
Output Port Name: look-at-point Output Port Description: The point at which to look at...
Definition: lookAtPointController.h:123
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 * myResetHead
Output Port Name: reset Output Port Description: Reset head immediately to 0 elevation and azimuth...
Definition: lookAtPointController.h:171
virtual const char * type() const =0
Returns a string identifies the class type of component.
DtOutputPortGroup is a data port group of a data provider.
Definition: outputPortGroup.h:30
virtual bool init()
Calls setRadio()
DtLookAtPointControllerPSR * myProcessState
Definition: lookAtPointController.h:110
DtAnalogOutputPort * myLookAtAzimuthPort
Output Port Name: look-at-azimuth Output Port Description: The azimuth at which to look at...
Definition: lookAtPointController.h:136
virtual void clearTask()
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
This class is responsible for handling requests to looking at a particular point. ...
Definition: lookAtPointController.h:24
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
Specialized classes.
Definition: scriptedTaskTask.h:270
Instances of DtVectorOutputPort are output ports through which data producers can send a DtVector...
Definition: vectorIOPort.h:52
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.
virtual bool createPortGroups()
Called by init.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
DtVectorOutputPort * myNodOrShakeRates
Output Port Name: nod-or-shake-rates Output Port Description: Vector that defines rates for nod or sh...
Definition: lookAtPointController.h:165
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtBooleanOutputPort * myForbidBaseRotationPort
Output Port Name: forbid-base-rotation Output Port Description: Predicate indicates whether the looki...
Definition: lookAtPointController.h:151
DtOutputPortGroup * myLookAtControlPortGroup
Output Port Group Name: look-at-control Output Port Group Description: .
Definition: lookAtPointController.h:117
DtLookAtPointControllerPSR is a process state repository which holds state variables for the DtLookAt...
Definition: lookAtPointControllerPSR.h:22