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.
virtual DtString stringRep() const =0
Returns a human-readable string representation of the command.
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class.
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).
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.
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.
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