coil::AdjustedClock Class Reference

Clock object to handle adjusted clock. More...

#include <ClockManager.h>

Inheritance diagram for coil::AdjustedClock:
coil::IClock

List of all members.

Public Member Functions

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

Detailed Description

Clock object to handle adjusted clock.

This class stores a offset time with current system clock when settime(), and gettime() returns adjusted clock by the offset.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Getting time.

Returns:
Current time

Implements coil::IClock.

virtual bool coil::AdjustedClock::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