46 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize);
54 virtual void addVertexToVector(
const DtRwVector&);
63 template<
class CommandType>
66 return new CommandType();
81 static int getTrackType(
const DtString&);
84 static int getTrackDepth(
const DtString&);
87 static int getTrackAmount(
const DtString&);
109 virtual void setTrackType(
DtString);
115 virtual void setTrackAmount(
DtString);
116 virtual DtString trackAmount()
const;
121 virtual void setTrackDepth(
DtString);
122 virtual DtString trackDepth()
const;
130 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize);
DtPersistentTracksCommand & operator=(const DtPersistentTracksCommand &)
Assignment operator.
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class.
DtRemovePersistentTracksCommand(const DtString &writeName, const DtRemovePersistentTracksCommand &orig, DtReaderWriterRegistry *parentRegistry=NULL)
Copy constructor.
Definition: persistentTracksCommand.h:163
virtual const DtSimCommandMessageType & type() const
Definition: persistentTracksCommand.h:173
virtual bool setToNet()
Calls netRep() to create the network buffer.
DtSimCommand * persistentTracksCommandCreator()
Definition: persistentTracksCommand.h:64
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
virtual DtString stringRep() const =0
Returns a human-readable string representation of the command.
Definition: readerWriterRegistry.h:39
DtRwString myTrackType
Definition: persistentTracksCommand.h:143
const DtSimCommandMessageType DtAddPersistentTracksCommandType("add-persistent-tracks-command")
DtSimCommand which causes a specific list of dynamic terrain changes to take place at the specified g...
Definition: persistentTracksCommand.h:71
Definition: rwVector.h:23
static std::vector< DtString > theTrackAmountsStringRep
Definition: persistentTracksCommand.h:77
virtual DtSimCommand * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const
Make a copy of this sim command.
Definition: persistentTracksCommand.h:175
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubsimCommand member from the incoming contentBuffer (cast to type DtNetSimSimCommand).
DtSimCommand which causes a specific list of dynamic terrain changes to take place at the specified g...
Definition: persistentTracksCommand.h:151
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubsimCommand member from the incoming contentBuffer (cast to type DtNetSimSimCommand).
const DtSimCommandMessageType DtRemovePersistentTracksCommandType("remove-persistent-tracks-command")
virtual DtString stringRep() const =0
Command type (string)
virtual const DtSimCommandMessageType & type() const
Definition: persistentTracksCommand.h:135
DtRwVectorList myVertices
Definition: persistentTracksCommand.h:59
const DtSimCommand & operator=(const DtSimCommand &orig)
assignment operator; same as copy constructor
DtSimCommand is an abstract base class from which commands can derive.
Definition: simCommand.h:32
DtRwString myTrackDepth
Definition: persistentTracksCommand.h:145
Base class for any DtSimCommand which persistent changes to be added or removed.
Definition: persistentTracksCommand.h:21
virtual ~DtRemovePersistentTracksCommand()
Destructor.
Definition: persistentTracksCommand.h:168
DtRwString myTrackAmount
Definition: persistentTracksCommand.h:144
virtual bool setToNet()
Calls netRep() to create the network buffer.
static std::vector< DtString > theTrackDepthsStringRep
Definition: persistentTracksCommand.h:76
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
static std::vector< DtString > theTrackTypesStringRep
Static Vectors.
Definition: persistentTracksCommand.h:75
DtRemovePersistentTracksCommand(const DtString &writeName, DtReaderWriterRegistry *parentRegistry=NULL)
Usual constructor.
Definition: persistentTracksCommand.h:158
class DtRwVectorList:
Definition: rwVectorList.h:22
DtRemovePersistentTracksCommand()
Default constructor.
Definition: persistentTracksCommand.h:155
virtual DtSimCommand * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const
Make a copy of this sim command.
Definition: persistentTracksCommand.h:137
virtual ~DtAddPersistentTracksCommand()
Destructor.
Definition: persistentTracksCommand.h:102