OpenRTM-aist  1.2.1
Public Member Functions | List of all members
coil::AdjustedClock Class Reference

Clock object to handle adjusted clock. More...

#include <ClockManager.h>

Inheritance diagram for coil::AdjustedClock:
Inheritance graph
[legend]
Collaboration diagram for coil::AdjustedClock:
Collaboration graph
[legend]

Public Member Functions

 AdjustedClock ()
 
virtual ~AdjustedClock ()
 
virtual coil::TimeValue gettime () const
 Getting time. More...
 
virtual bool settime (coil::TimeValue clocktime)
 Setting time. More...
 
- Public Member Functions inherited from coil::IClock
virtual ~IClock ()
 

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
clocktimeCurrent time

Implements coil::IClock.


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