A threadsafe, waitable signal.
More...
#include <signal.h>
|
void | raise () |
|
bool | raised () |
|
void | wait () |
|
template<typename rep , typename period > |
bool | wait_for (std::chrono::duration< rep, period > delay) |
|
template<class Clock , class Duration > |
bool | wait_until (std::chrono::time_point< Clock, Duration > const &time) |
|
void | reset () |
|
A threadsafe, waitable signal.
◆ raise()
void mir::test::Signal::raise |
( |
| ) |
|
◆ raised()
bool mir::test::Signal::raised |
( |
| ) |
|
◆ reset()
void mir::test::Signal::reset |
( |
| ) |
|
◆ wait()
void mir::test::Signal::wait |
( |
| ) |
|
◆ wait_for()
template<typename rep , typename period >
bool mir::test::Signal::wait_for |
( |
std::chrono::duration< rep, period > |
delay | ) |
|
|
inline |
◆ wait_until()
template<class Clock , class Duration >
bool mir::test::Signal::wait_until |
( |
std::chrono::time_point< Clock, Duration > const & |
time | ) |
|
|
inline |
The documentation for this class was generated from the following file:
Copyright © 2012-2018
Canonical Ltd.
Generated on Sun Jun 17 06:26:29 UTC 2018