VR-Forces 4.2 Class Documentation
changeTimeOfDayCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #ifndef changeTimeOfDayCommand_h
12 #define changeTimeOfDayCommand_h
13 
14 #include "vrfplan/simCommand.h"
15 #include "vrfplan/vrfplanDefines.h"
16 #include "vrfutil/rwReal.h"
17 #include "vrfutil/rwBoolean.h"
18 
22 {
23 public:
24 
27 
29  DtChangeTimeOfDayCommand(const DtString& writeName,
30  DtReaderWriterRegistry* parentRegistry = NULL);
31 
33  DtChangeTimeOfDayCommand(const DtString & writeName, const DtChangeTimeOfDayCommand& orig,
34  DtReaderWriterRegistry* parentRegistry = NULL);
35 
37  virtual ~DtChangeTimeOfDayCommand();
38 
41 
43  const DtSimCommandMessageType& type() const;
44 
46  virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry *
47  parentRegistry = 0) const;
48 
49  virtual int netRepSize() const;
50  virtual bool setFromNet(const char* contentBuffer,
51  unsigned contentSize);
52  virtual bool setToNet();
53 
55 
56  virtual void setTimeOfDay(double secondsPastMidnight);
57  virtual double timeOfDay() const;
59 
61 
62  virtual void setTimeOfDayAdvanceSpeed(double secondsPastMidnight);
63  virtual double timeOfDayAdvanceSpeed() const;
65 
68  virtual void setTimeOfDay(int hour, int minute, double seconds);
69 
75 
76  virtual void setGeneratedByRemoteSetter(bool value);
77  virtual bool generatedByRemoteSetter() const;
79 
81  virtual DtString stringRep() const;
82 
83  static DtSimCommand* creator();
84 
85 protected:
86 
90 };
91 
92 
93 #endif

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)