16 #include <vlutil/vlNetTypes.h>
73 parentRegistry = 0)
const;
80 virtual const DtUUID& route()
const;
83 virtual void setRoute(
const DtUUID&);
97 virtual void setStartAtClosestPoint(
bool startAtClosestPoint);
98 virtual bool startAtClosestPoint()
const;
105 virtual void setSpeed(
double v);
106 virtual double speed()
const;
107 virtual bool isSpeedSpecified()
const;
115 virtual bool setFromNet(
const char* contentBuffer,
116 unsigned contentSize);
159 parentRegistry = 0)
const;
198 parentRegistry = 0)
const;
210 virtual bool setFromNet(
const char* contentBuffer,
211 unsigned contentSize);
217 virtual void setTimeOnTarget(
double timeOnTarget);
218 virtual double timeOnTarget()
const;
219 virtual bool isTimeOnTargetSpecified()
const;
221 virtual void setTimeOnTargetPosition(
double timeOnTargetPosition);
222 virtual double timeOnTargetPosition()
const;
223 virtual bool isTimeOnTargetPositionSpecified()
const;
225 virtual void setAbandonTaskIfTimeOnTargetNotAchievable(
bool b);
226 virtual bool abandonTaskIfTimeOnTargetNotAchievable()
const;
228 virtual void setHoldPosition(
double loiterPosition);
229 virtual double holdPosition()
const;
230 virtual bool isHoldPositionSpecified()
const;
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
DtRwBoolean myStartAtClosestPoint
Definition: moveAlongTasks.h:128
!!!!!!!!!!!!!!!!! DtMoveAlongRetrogradeTask Same as move to task but will be handled a bit differentl...
Definition: moveAlongTasks.h:135
virtual int netRepSize() const
Returns the size of the full network representation (control object name included) padded to an 8-byt...
Definition: rwRouteActionList.h:19
static DtSimTask * creator()
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
virtual DtSimTask * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this task. Returns a newly allocated instance of a DtSimTask. Override this member fun...
DtRwRouteActionList myActionList
Definition: moveAlongTasks.h:240
Description: Readable, Writable uuid string. Use this class in order to convert from object marking t...
Definition: rwUUID.h:431
!!!!!!!!!!!!!!!!! DtMoveAlongWithActionsTask Move along task with a list of sets and tasks ...
Definition: moveAlongTasks.h:171
DtRwUUID myRoute
Definition: moveAlongTasks.h:126
DtIteratorDirection
Definition: iteratorBase.h:23
DtRwBoolean myAbandonTaskIfTimeOnTargetNotAchievable
Definition: moveAlongTasks.h:239
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubtask member from the incoming contentBuffer (cast to type DtNetSimTask). Derived classes should call down to this function first, and then extract their own data starting at the location contentBuffer + DtSimTask::netRepSize().
const DtMoveAlongTask & operator=(const DtMoveAlongTask &orig)
assignment operator
DtRwReal myTimeOnTargetPosition
Definition: moveAlongTasks.h:237
DtMoveAlongTask represents a Move Along Route task for an entity to perform. It inherits read/writabl...
Definition: moveAlongTasks.h:46
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Fills in the task from the network buffer.
virtual bool setToNet()
Calls netRep() to create the network buffer. Casts the resulting myNetRep to type DtNetSimTask*...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
DtRwReal myLoiterPosition
Definition: moveAlongTasks.h:238
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal mySpeed
Definition: moveAlongTasks.h:129
virtual DtString stringRep() const
Get a readable string representation of this task.
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
Definition: routeAction.h:35
virtual DtString stringRep() const =0
Returns a human-readable string representation of the task. This string representation is used to dis...
const DtSimTask & operator=(const DtSimTask &orig)
assignment operator; same as copy constructor
DtRwReal myTimeOnTarget
Definition: moveAlongTasks.h:236
virtual bool setToNet()
Fills in the network buffer (created by base class simTask) with the task contents.
DtRwInt myTraversalDirection
Definition: moveAlongTasks.h:127
virtual const DtSimTaskMessageType & type() const
Returns "move-along".
virtual const DtSimTaskMessageType & type() const =0
What kind of task am I? Returns a string indicating the kind of task (for example, “move-to”, “follow-entity”). Derived classes must implement this member function to return a unique string representing the type of task. The set of standard task types supplied with VR-Forces is in taskTypes.h.
virtual DtSimTask * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const
Creates a copy of this move-along task.
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class. This is the size in bytes of th...