Zth (libzth)
|
#include <sync.h>
Public Types | |
typedef TimedWaitable | base |
Public Types inherited from zth::Listable< TimedWaitable > | |
typedef TimedWaitable | type |
Public Member Functions | |
AlarmClock (Synchronizer &synchronizer, Fiber &fiber, Timestamp const &timeout) noexcept | |
virtual | ~AlarmClock () override=default |
virtual bool | poll (Timestamp const &now=Timestamp::now()) noexcept override |
bool | rang () const noexcept |
Public Member Functions inherited from zth::TimedWaitable | |
TimedWaitable (Timestamp const &timeout=Timestamp()) noexcept | |
virtual | ~TimedWaitable () override=default |
Timestamp const & | timeout () const noexcept |
bool | operator< (TimedWaitable const &rhs) const noexcept |
virtual string | str () const override |
Public Member Functions inherited from zth::Waitable | |
Waitable () noexcept | |
virtual | ~Waitable ()=default |
Fiber & | fiber () const noexcept |
void | setFiber (Fiber &fiber) noexcept |
void | resetFiber () noexcept |
bool | hasFiber () const noexcept |
Public Member Functions inherited from zth::Listable< TimedWaitable > | |
constexpr | Listable () noexcept |
constexpr | Listable (Listable const &e) noexcept |
Listable (Listable &&l) noexcept | |
Listable & | operator= (Listable const &rhs) noexcept |
Listable & | operator= (Listable &&l) noexcept |
type * | listNext () const noexcept |
type * | listPrev () const noexcept |
Additional Inherited Members | |
Public Attributes inherited from zth::Listable< TimedWaitable > | |
Listable * | prev |
Listable * | left |
Listable * | next |
Listable * | right |
Protected Member Functions inherited from zth::TimedWaitable | |
void | setTimeout (Timestamp const &t) noexcept |
|
inlinenoexcept |
|
overridevirtualdefault |
|
inlineoverridevirtualnoexcept |
Reimplemented from zth::TimedWaitable.
|
inlinenoexcept |