OpenRTM-aist
1.2.1
|
A global clock management class. More...
#include <ClockManager.h>
Public Member Functions | |
IClock & | getClock (std::string clocktype) |
Additional Inherited Members | |
![]() | |
typedef ClockManager * | SingletonClassPtr |
typedef ::coil::Mutex | Mutex |
![]() | |
static ClockManager & | instance () |
Create instance. More... | |
![]() | |
Singleton () | |
Constructor. More... | |
~Singleton () | |
Destructor. More... | |
![]() | |
static coil::Mutex | m_mutex |
Mutual exclusion object. More... | |
static ClockManager * | m_instance |
SingletonClass object. More... | |
A global clock management class.
This class is a singleton class that provides clock objects globally. It provides a IClock object by getClock(<clock type>="">). As clock types, "system", "logical" and "adjusted" are available.
IClock& coil::ClockManager::getClock | ( | std::string | clocktype | ) |