57 virtual const char*
type()
const;
67 static void moveToLocationCallback(
DtSimMessage* msg,
void* usr);
73 virtual void processMoveToLocationTask(
DtSimMessage* msg);
77 virtual void initializeLocals(
const DtVector& globalTarget);
82 virtual double getAtDistance();
114 virtual bool setupControlPoint();
119 virtual bool passedGoal();
122 virtual bool atGoal();
130 virtual void controlMovement();
133 virtual void processEstimatedTotCalculation();
158 const double DtEstimatedTotCalcInterval = 5.0;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVector2D myCurrentGoalToEntity2DVector
Definition: surfaceEntityMoveToLocationController.h:143
DtLocation3D myAimingPoint
Note: in general, this is not the negation of the goal-to-entit...
Definition: surfaceEntityMoveToLocationController.h:151
virtual void registerTaskMsgCallbacks()
DtVector myEstimatedTotTextPos
tot text position
Definition: surfaceEntityMoveToLocationController.h:167
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
bool myEstimatedTotCalcEnabled
enabled flag for the tot calculations
Definition: surfaceEntityMoveToLocationController.h:161
const DtSurfaceEntityPilotController & operator=(const DtSurfaceEntityPilotController &orig)
assignment operator; not implemented
DtLocation3D myEntityPoint
These data are computed each tick and used later in the same tick.
Definition: surfaceEntityMoveToLocationController.h:140
DtBoolean myAtGoal
Definition: surfaceEntityMoveToLocationController.h:142
double myEstimatedTotValue
the tot value
Definition: surfaceEntityMoveToLocationController.h:163
//! DtSurfaceEntityMoveToLocationController is a controller that models the movement of a surface ent...
Definition: surfaceEntityMoveToLocationController.h:28
virtual void updateTaskVisualizations()
Called to update task visualizations after every tick. Implemented by subclasses. ...
Definition: simComponent.h:437
double myAtDistance
This is taken from the task message if present, or else from the descriptor.
Definition: surfaceEntityMoveToLocationController.h:155
double myEstimatedTotLastCalcTime
used for tot calculation intervals
Definition: surfaceEntityMoveToLocationController.h:165
virtual void tick()
Overridden to check for valid myProcessState pointer. If it is null a warning is printed to the objec...
File: simMsg.h.
Definition: simMessage.h:35
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtVector2D is a vector in earth-relative coordinates, e.g. east-north. Its direction in space depends...
Definition: scriptGeometry.h:285
DtBoolean myPassedGoal
Definition: surfaceEntityMoveToLocationController.h:141
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:94
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
The DtSurfaceEntityPilotController provides basic movement capabilities for surface entities and crea...
Definition: surfaceEntityPilotController.h:78
DtVector2D myCurrentEntityToGoal2DVector
Definition: surfaceEntityMoveToLocationController.h:144
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
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
A location3D is a point in space, i.e. a geocentric coordinate.
Definition: scriptGeometry.h:22