#include <ObsClock.h>
Inheritance diagram for ObsClock:
OBS Clock Components can provide two types of timing information and one service. The timing information are: the on-board time and the on-board cycle. The service is the timing synchronization service.
The on-board time is a time measurement provided by some external source. The on-board cycle assumes that the application is running cyclically and it represents the number of cycle from some arbitrary point (for instance, the time of creation of the OBS clock component, or the time it was last reset).
The timing synchronization service is an application-dependent service to synchronize the on-board time maintained by the OBS clock component.
spilt the setTime method into two setter methods
Definition at line 38 of file ObsClock.h.
Public Member Functions | |
virtual TD_ObsTime | getTime (void)=0 |
Return the current on-board time. | |
virtual TD_ObsCycle | getCycle (void)=0 |
Return the current on-board cycle. | |
virtual void | synchronizeWithSystemTime (void)=0 |
Implement the timing synchronization service. | |
virtual void | reset (void)=0 |
Reset the OBS clock. |
|
Return the current on-board cycle.
Implemented in DC_DummyObsClock. |
|
Return the current on-board time.
Implemented in DC_DummyObsClock. |