17 #include <vlutil/vlString.h>
18 #include <matrix/vlVector.h>
53 virtual const char*
type()
const;
57 virtual void setTargetEntity(
const DtUUID& entity);
71 double& maneuverAccelXOut,
72 double& maneuverAccelYOut,
73 double& maneuverAccelZOut);
78 static void targetEntityCallback(
DtSimMessage * msg,
void * usr);
82 virtual void processTargetEntityTask(
DtSimMessage * msg);
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual void registerTaskMsgCallbacks()
Overrides this so it can register its interest in MoveTo commands.
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
const DtMissileMoveToControllerComponent & operator=(const DtMissileMoveToControllerComponent &orig)
assignment operator; see comments on copy constructor!
virtual double findDesiredSpeed()
Returns the maximum speed for the missile.
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
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
DtMissileLaunchPhaseEnum
Definition: missileFlightPSR.h:21
virtual void calculateSteering(const DtVector &relativeVelocity, const DtVector &localPosition, const DtVector &targetVelocity, const DtVector &targetPoint, double &maneuverAccelXOut, double &maneuverAccelYOut, double &maneuverAccelZOut)
Just calls down to calculateSteeringToPoint (ignoring targetVelocity).
const DtVrfObject * myEntityPointer
Set fresh each frame by setupControlPoint.
Definition: missileTrackEntityController.h:126
DtMissileMoveToControllerComponent is a controller that maneuvers a missile toward a given target poi...
Definition: missileMoveToControllerComponent.h:35
File: simMsg.h.
Definition: simMessage.h:35
virtual bool setupControlPoint()
Returns the boolean member data flag myMissilesTargeted, indicating whether or not a target location ...
virtual const char * type() const
Returns a string identifies the class type of component.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
DtMissileTrackEntityController is a controller that models entity tracking behavior for missile entit...
Definition: missileTrackEntityController.h:35
bool myLookupWarningSent
Definition: missileTrackEntityController.h:128