OpenDaVINCI  4.16.0
ControlledTime.h
Go to the documentation of this file.
1 
20 #ifndef CONTEXT_BASE_CONTROLLEDTIME_H_
21 #define CONTEXT_BASE_CONTROLLEDTIME_H_
22 
25 
26 namespace odcontext {
27  namespace base {
28 
33  public:
35 
42  ControlledTime(const uint32_t &s, const uint32_t &ps);
43 
49  ControlledTime(const ControlledTime &ct);
50 
51  virtual ~ControlledTime();
52 
59  ControlledTime& operator=(const ControlledTime &ct);
60 
61  virtual int32_t getSeconds() const;
62 
63  virtual int32_t getPartialMicroseconds() const;
64 
70  void setSeconds(const int32_t &s);
71 
77  void setPartialMicroseconds(const int32_t &partialMS);
78 
79  private:
80  int32_t m_seconds;
81  int32_t m_partialMicroseconds;
82  };
83 
84  }
85 } // odcontext::base
86 
87 #endif /*CONTEXT_BASE_CONTROLLEDTIME_H_*/
Definition: Time.h:34
#define OPENDAVINCI_API
Definition: opendavinci.h:67
Definition: ControlledTime.h:32