OpenRTM-aist
1.2.1
|
An interface to set and get time. More...
#include <ClockManager.h>
Public Member Functions | |
virtual | ~IClock () |
virtual coil::TimeValue | gettime () const =0 |
Getting time. More... | |
virtual bool | settime (coil::TimeValue clocktime)=0 |
Setting time. More... | |
An interface to set and get time.
This class is a interface for clock objects managed by ClockManager. ClockManager manages one or more clocks, and it returns appropriate clock objects according to demands. The clock object might be clock which just returns system time, or a clock which returns individual logical time.
|
pure virtual |
Getting time.
Implemented in coil::AdjustedClock, coil::LogicalClock, and coil::SystemClock.
Referenced by ~IClock().
|
pure virtual |
Setting time.
clocktime | Current time |
Implemented in coil::AdjustedClock, coil::LogicalClock, and coil::SystemClock.
Referenced by ~IClock().