OpenRTM-aist-Python 2.0.2
OpenRTM_aist.ClockManager.IClock Class Reference

More...

Inheritance diagram for OpenRTM_aist.ClockManager.IClock:
OpenRTM_aist.ClockManager.AdjustedClock OpenRTM_aist.ClockManager.LogicalClock OpenRTM_aist.ClockManager.SystemClock

Public Member Functions

 gettime (self)
 
 settime (self, clocktime)
 

Detailed Description

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.

 

Member Function Documentation

◆ gettime()

OpenRTM_aist.ClockManager.IClock.gettime ( self)

Getting time

Returns
Current time virtual coil.TimeValue gettime() const = 0;

Reimplemented in OpenRTM_aist.ClockManager.AdjustedClock, OpenRTM_aist.ClockManager.LogicalClock, and OpenRTM_aist.ClockManager.SystemClock.

◆ settime()

OpenRTM_aist.ClockManager.IClock.settime ( self,
clocktime )

Setting time

Parameters
clocktimeCurrent time virtual bool settime(coil.TimeValue clocktime) = 0;

Reimplemented in OpenRTM_aist.ClockManager.AdjustedClock, OpenRTM_aist.ClockManager.LogicalClock, and OpenRTM_aist.ClockManager.SystemClock.


The documentation for this class was generated from the following file: