OpenRTM_aist.ClockManager.IClock Class Reference

An interface to set and get time. More...

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

List of all members.

Public Member Functions

def gettime
 Getting time.
def settime
 Setting time.

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

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.

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

Setting time.

Parameters:
clocktime Current 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:
Generated on Mon Mar 2 14:14:03 2015 for OpenRTM-aist-1.1.0-Python by  doxygen 1.6.3