ChimeraTK-DeviceAccess 03.25.00
Loading...
Searching...
No Matches
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.
 
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.

◆ now()

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

Definition at line 7 of file testableRebotSleep.cc.

◆ 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.

◆ waitForClientTestableMode()

void ChimeraTK::testable_rebot_sleep::waitForClientTestableMode ( )

Definition at line 145 of file testableRebotSleep_testingImpl.h.

◆ wake_up_application()

void ChimeraTK::testable_rebot_sleep::wake_up_application ( )

Definition at line 102 of file testableRebotSleep_testingImpl.h.