ChimeraTK-DeviceAccess
03.18.00
testableRebotSleep.cc
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
2
// SPDX-License-Identifier: LGPL-3.0-or-later
3
4
#include "
testableRebotSleep.h
"
5
6
namespace
ChimeraTK::testable_rebot_sleep
{
7
boost::chrono::steady_clock::time_point
now
() {
8
return
boost::chrono::steady_clock::now
();
9
}
10
16
void
sleep_until
(boost::chrono::steady_clock::time_point t) {
17
boost::this_thread::sleep_until
(t);
18
}
19
}
// namespace ChimeraTK::testable_rebot_sleep
ChimeraTK::testable_rebot_sleep::now
boost::chrono::steady_clock::time_point now()
Definition:
testableRebotSleep.cc:7
ChimeraTK::testable_rebot_sleep::sleep_until
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::sle...
Definition:
testableRebotSleep.cc:16
testableRebotSleep.h
ChimeraTK::testable_rebot_sleep
Definition:
testableRebotSleep.cc:6
sources
ChimeraTK-DeviceAccess
backends
Rebot
src
testableRebotSleep.cc
Generated by
1.8.17