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);
109 virtual bool setupControlPoint();
114 virtual bool passedGoal();
117 virtual bool atGoal();
125 virtual void controlMovement();
128 virtual void processEstimatedTotCalculation();
149 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:138
DtLocation3D myAimingPoint
Note: in general, this is not the negation of the goal-to-entit...
Definition: surfaceEntityMoveToLocationController.h:146
virtual void registerTaskMsgCallbacks()
DtVector myEstimatedTotTextPos
tot text position
Definition: surfaceEntityMoveToLocationController.h:158
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:152
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:135
DtBoolean myAtGoal
Definition: surfaceEntityMoveToLocationController.h:137
double myEstimatedTotValue
the tot value
Definition: surfaceEntityMoveToLocationController.h:154
//! 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:436
double myEstimatedTotLastCalcTime
used for tot calculation intervals
Definition: surfaceEntityMoveToLocationController.h:156
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:136
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
The DtSurfaceEntityPilotController provides basic movement capabilities for surface entities and crea...
Definition: surfaceEntityPilotController.h:78
DtVector2D myCurrentEntityToGoal2DVector
Definition: surfaceEntityMoveToLocationController.h:139
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