coil::LogicalClock Class Reference

Clock object to handle logical clock. More...

#include <ClockManager.h>

Inheritance diagram for coil::LogicalClock:
coil::IClock

List of all members.

Public Member Functions

 LogicalClock ()
virtual ~LogicalClock ()
virtual coil::TimeValue gettime () const
 Getting time.
virtual bool settime (coil::TimeValue clocktime)
 Setting time.

Detailed Description

Clock object to handle logical clock.

This class sets and gets system clock. It just sets time by settime() and gets time by gettime().


Constructor & Destructor Documentation

coil::LogicalClock::LogicalClock (  ) 
virtual coil::LogicalClock::~LogicalClock (  )  [virtual]

Member Function Documentation

virtual coil::TimeValue coil::LogicalClock::gettime (  )  const [virtual]

Getting time.

Returns:
Current time

Implements coil::IClock.

virtual bool coil::LogicalClock::settime ( coil::TimeValue  clocktime  )  [virtual]

Setting time.

Parameters:
clocktime Current time

Implements coil::IClock.

Generated on Sat Apr 19 14:45:43 2014 for OpenRTM by  doxygen 1.6.3