Sunshine latest
Self-hosted game stream host for Moonlight.
safe::alarm_raw_t< T > Class Template Reference

Public Types

using status_t = util::optional_t<T>
 

Public Member Functions

void reset ()
 
void ring (const status_t &status)
 
void ring (status_t &&status)
 
status_t & status ()
 
const status_t & status () const
 
auto wait ()
 
template<class Pred >
auto wait (Pred &&pred)
 
template<class Rep , class Period >
auto wait_for (const std::chrono::duration< Rep, Period > &rel_time)
 
template<class Rep , class Period , class Pred >
auto wait_for (const std::chrono::duration< Rep, Period > &rel_time, Pred &&pred)
 
template<class Rep , class Period >
auto wait_until (const std::chrono::duration< Rep, Period > &rel_time)
 
template<class Rep , class Period , class Pred >
auto wait_until (const std::chrono::duration< Rep, Period > &rel_time, Pred &&pred)
 

The documentation for this class was generated from the following file: