ChimeraTK-DeviceAccess  03.18.00
ChimeraTK::testable_rebot_sleep Namespace Reference

Functions

boost::chrono::steady_clock::time_point now ()
 
void sleep_until (boost::chrono::steady_clock::time_point t)
 There are two implementations with the same signature: One that calls boost::thread::this_thread::sleep_until, which is used in the application. More...
 
void wake_up_application ()
 
template<class Rep , class Period >
void advance_until (boost::chrono::duration< Rep, Period > targetTimeRelativeMyEpoch)
 
void waitForClientTestableMode ()
 

Function Documentation

◆ advance_until()

template<class Rep , class Period >
void ChimeraTK::testable_rebot_sleep::advance_until ( boost::chrono::duration< Rep, Period >  targetTimeRelativeMyEpoch)

Definition at line 125 of file testableRebotSleep_testingImpl.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ now()

boost::chrono::steady_clock::time_point ChimeraTK::testable_rebot_sleep::now ( )

Definition at line 7 of file testableRebotSleep.cc.

+ Here is the caller graph for this function:

◆ sleep_until()

void ChimeraTK::testable_rebot_sleep::sleep_until ( boost::chrono::steady_clock::time_point  t)

There are two implementations with the same signature: One that calls boost::thread::this_thread::sleep_until, which is used in the application.

The one for testing has a lock and is synchronised manually with the test thread.

Definition at line 16 of file testableRebotSleep.cc.

+ Here is the caller graph for this function:

◆ waitForClientTestableMode()

void ChimeraTK::testable_rebot_sleep::waitForClientTestableMode ( )

Definition at line 145 of file testableRebotSleep_testingImpl.h.

+ Here is the caller graph for this function:

◆ wake_up_application()

void ChimeraTK::testable_rebot_sleep::wake_up_application ( )

Definition at line 102 of file testableRebotSleep_testingImpl.h.

+ Here is the caller graph for this function: