16 #include <vlutil/vlString.h>
62 virtual const char*
type()
const override;
72 static void patrolBetweenCallback(
DtSimMessage * msg,
void * usrData);
86 virtual void processPatrolBetweenTask(
DtSimMessage * msg);
89 virtual void tick()
override;
94 virtual DtUUID firstWaypoint()
const;
95 virtual void setFirstWaypoint(
const DtUUID& waypoint);
102 virtual DtUUID secondWaypoint()
const;
103 virtual void setSecondWaypoint(
const DtUUID& waypoint);
116 virtual bool atGoal()
override;
virtual bool passedGoal()
Determines if the entity has passed the goal. This is true for move-to-loc if the vector from the goa...
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtSurfaceEntityMoveToController is a controller that models the movement of a surface entity to a spe...
Definition: surfaceEntityMoveToController.h:29
virtual void registerTaskMsgCallbacks() override
Registers interest in move to tasks by calling addTaskProcessorCallback with moveToCallback as the fu...
virtual void controlMovement()
Executes the control function for the task, to produce control port outputs.
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
DtSurfaceEntityPatrolBetweenController; patrol between waypoint behavior for a surface entity...
Definition: surfaceEntityPatrolBetweenController.h:35
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick() override
Overridden to check for valid myProcessState pointer. If it is null a warning is printed to the objec...
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual bool atGoal()
Determines when the entity is at the goal. Uses the stoppingDistance parameter.
A locally simulated VRF object.
Definition: localObject.h:98