14 #include <vlutil/vlPrint.h>
47 parentRegistry = 0)
const;
62 virtual bool setFromNet(
const char* contentBuffer,
63 unsigned contentSize);
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
virtual void setMessageText(const DtString &text)
MySimCommand & operator=(const MySimCommand &orig)
virtual bool setToNet()
Calls netRep() to create the network buffer.
static DtSimCommand * creator()
Definition: mySimCommand.h:22
virtual DtString messageText() const
virtual DtString stringRep() const
Returns a human-readable string representation of the command.
const DtSimCommandMessageType MySimCommandType("my-sim-command")
Define constants for types of tasks, sets, admin messages, reports, and sim commands (all sent via ra...
DtSimCommand is an abstract base class from which commands can derive.
Definition: simCommand.h:32
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubsimCommand member from the incoming contentBuffer (cast to type DtNetSimSimCommand).
virtual DtSimCommand * clone() const
Version of clone that preserves the existing name, and assigns a null parent registry.
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class.
const DtSimCommandMessageType & type() const
DtRwString myMessageText
Definition: mySimCommand.h:72
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.