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

Clock object to handle logical clock. More...

#include <ClockManager.h>

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

Public Member Functions

 LogicalClock ()
 
virtual ~LogicalClock ()
 
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 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
clocktimeCurrent time

Implements coil::IClock.


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