69 parentRegistry = 0)
const;
74 virtual void setHeading(DtReal heading);
75 virtual DtReal heading()
const;
77 virtual int mode()
const;
78 virtual void setMode(
int);
85 virtual bool setFromNet(
const char* contentBuffer,
86 unsigned contentSize);
Definition: readerWriterRegistry.h:39
virtual DtSimTask * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this task.
This struct is the FIXED portion of the simulation network representation of a turn to heading task...
Definition: turnToHeadingTask.h:42
DtRwInt myMode
Definition: turnToHeadingTask.h:96
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubtask member from the incoming contentBuffer (cast to type DtNetSimTask).
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual bool setToNet()
Calls netRep() to create the network buffer.
DtRwReal myHeading
Definition: turnToHeadingTask.h:95
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtSimTask is an abstract base class from which real tasks can derive.
Definition: simTask.h:31
const char int mode
Definition: ioapi.h:38
virtual DtString stringRep() const =0
Returns a human-readable string representation of the task.
const DtSimTask & operator=(const DtSimTask &orig)
assignment operator; same as copy constructor
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”).
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class.