46 parentRegistry = 0)
const;
49 virtual bool setFromNet(
const char* contentBuffer,
50 unsigned contentSize);
55 virtual void setDateAndTimeOfDay(time_t secondsPastMidnight);
56 virtual time_t dateAndTimeOfDay()
const;
57 virtual bool changeDateAndTimeOfDay()
const;
62 virtual void setUseDayNightIlluminationModel(
bool);
64 virtual bool useDayNightIlluminationModel()
const;
65 virtual bool changeUseDayNightIlluminationModel()
const;
70 virtual void setTimeOfDayAdvanceSpeed(
double secondsPastMidnight);
71 virtual double timeOfDayAdvanceSpeed()
const;
72 virtual bool changeTimeOfDayAdvanceSpeed()
const;
81 virtual void setGeneratedByRemoteSetter(
bool value);
82 virtual bool generatedByRemoteSetter()
const;
92 virtual void getSelf(DtlObjPtr args,
DtRwBoolean myUseDayNightIlluminationModel
Definition: changeTimeOfDayCommand.h:101
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
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
DtRwReal myToDAdvanceSpeed
Definition: changeTimeOfDayCommand.h:99
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 void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...
static const DtVariableBindingsList & nullVariableReference()
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtSimCommand * clone() const
Version of clone that preserves the existing name, and assigns a null parent registry.
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
virtual const DtSimCommandMessageType & type() const =0
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
DtRwBoolean myGeneratedByRemoteSetter
Definition: changeTimeOfDayCommand.h:100
DtRwReal mySecondsPastUTC
Definition: changeTimeOfDayCommand.h:98
A DtSimCommand subclass which specifies a change to the time of day settings in the simulation engine...
Definition: changeTimeOfDayCommand.h:20