11 #include <vlpi/netStructs.h>
15 namespace vrfAddSetExample
63 virtual DtReal
speed()
const;
75 virtual bool setFromNet(
const char* contentBuffer,
76 unsigned contentSize);
const DtSetMessageType DtSetSpeedAndHeadingType("set-speed-and-heading")
virtual int netRepSize() const
DtRwReal myHeading
Definition: setSpeedAndHeading.h:87
Definition: readerWriterRegistry.h:39
Definition: setSpeedAndHeading.h:30
virtual DtReal speed() const
DtRwReal mySpeed
Definition: setSpeedAndHeading.h:86
virtual const DtSetMessageType & type() const
What kind of setDataRequest am I? (from radioMsgTypes.h). Returns a string representing the kind of d...
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
const char DtSetSpeedAndHeadingMenuItemIdName[]
Definition: setSpeedAndHeading.h:28
Define constants for types of tasks, sets, admin messages, reports, and sim commands (all sent via ra...
static DtSetDataRequest * creator()
const DtSetSpeedAndHeadingRequest & operator=(const DtSetSpeedAndHeadingRequest &orig)
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtReal heading() const
virtual void setHeading(DtReal heading)
virtual ~DtSetSpeedAndHeadingRequest()
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
virtual void setSpeed(DtReal speed)
DtSetSpeedAndHeadingRequest()
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const
Make a copy of this request. Returns a pointer to a newly created copy of this data request...
virtual DtString stringRep() const
Get a readable string representation of this setDataRequest. Returns a human readable string represen...