ChimeraTK-DeviceAccess  03.18.00
testableRebotSleep.h
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 #pragma once
4 
5 #include <boost/chrono.hpp>
6 #include <boost/thread.hpp>
7 
8 namespace ChimeraTK { namespace testable_rebot_sleep {
9  boost::chrono::steady_clock::time_point now();
10 
16  void sleep_until(boost::chrono::steady_clock::time_point t);
17 }} // 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
ChimeraTK
Definition: DummyBackend.h:16