OpenRTM-aist-Python 2.0.0
Public Member Functions | List of all members
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

def gettime (self)
 
def 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()

def OpenRTM_aist.ClockManager.IClock.gettime (   self)

Getting time

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

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

◆ settime()

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

Setting time

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

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


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