48 parentRegistry = 0)
const;
52 virtual const DtUUID& uuid()
const;
53 virtual void setUUID(
const DtUUID&);
59 virtual void setTask(
const DtSimTask* task);
68 virtual bool setFromNet(
const char* contentBuffer,
69 unsigned contentSize);
80 virtual void putData(std::string& fp,
int indentLevel = 0);
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtRwUUID myUUID
Definition: taskCommand.h:86
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
getData is just used to get us past the type in the data stream, since it's not actually stored...
DtSimTask * myTask
Definition: taskCommand.h:87
virtual bool setToNet()
Calls netRep() to create the network buffer. Casts the resulting myNetRep to type DtNetSimSimCommand*...
virtual DtString stringRep() const =0
Returns a human-readable string representation of the command. This string representation is used to ...
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
DtSimCommand subclass for tasking an object. This command contains a DtSimTask, which is sent to the ...
Definition: taskCommand.h:23
uuid class
Definition: rwUUID.h:26
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class. This is the size in bytes of th...
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubsimCommand member from the incoming contentBuffer (cast to type DtNetSimSimCommand). Derived classes should call down to this function first, and then extract their own data starting at the location contentBuffer + DtSimCommand::netRepSize().
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
const DtSimCommand & operator=(const DtSimCommand &orig)
assignment operator; same as copy constructor
DtSimCommand is an abstract base class from which commands can derive. It manages the read/write capa...
Definition: simCommand.h:32
virtual DtSimCommand * clone() const
Version of clone that preserves the existing name, and assigns a null parent registry.
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
virtual const DtSimCommandMessageType & type() const =0
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
virtual void putData(std::string &fp, int indentLevel=0)
putData writes our type, which is provided by the virtual type accessor of the deriving class...