m2etis  0.4
m2etis::util::RealTimeClock Class Reference

This Clock handles the real time. More...

#include <RealTimeClock.h>

Inheritance diagram for m2etis::util::RealTimeClock:
Inheritance graph

Public Member Functions

 RealTimeClock (const boost::function< void(void)> &f)
 initializes a worker thread calling given function when time changed More...
 
virtual ~RealTimeClock ()
 destructor More...
 
uint64_t getCurrentTime (uint64_t lastTime)
 returns current time in microseconds More...
 
void Stop ()
 stops the clock More...
 

Protected Member Functions

void Init ()
 

Detailed Description

This Clock handles the real time.

Definition at line 35 of file RealTimeClock.h.

Constructor & Destructor Documentation

m2etis::util::RealTimeClock::RealTimeClock ( const boost::function< void(void)> &  f)
explicit

initializes a worker thread calling given function when time changed

virtual m2etis::util::RealTimeClock::~RealTimeClock ( )
virtual

destructor

Member Function Documentation

uint64_t m2etis::util::RealTimeClock::getCurrentTime ( uint64_t  lastTime)

returns current time in microseconds

void m2etis::util::RealTimeClock::Init ( )
protected
void m2etis::util::RealTimeClock::Stop ( )

stops the clock


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