Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
toolbox::io::Waker Class Referenceabstract

#include <toolbox/io/Waker.hpp>

Inheritance diagram for toolbox::io::Waker:
Inheritance graph
[legend]

Public Member Functions

 Waker () noexcept=default
 
virtual ~Waker ()
 
 Waker (const Waker &) noexcept=default
 
Wakeroperator= (const Waker &) noexcept=default
 
 Waker (Waker &&) noexcept=default
 
Wakeroperator= (Waker &&) noexcept=default
 
void wakeup () noexcept
 

Protected Member Functions

virtual void do_wakeup () noexcept=0
 

Detailed Description

The Waker is implemented by types that may be woken-up, interrupted or otherwise notified asynchronously.

Definition at line 27 of file Waker.hpp.

Constructor & Destructor Documentation

◆ Waker() [1/3]

toolbox::io::Waker::Waker ( )
defaultnoexcept

◆ ~Waker()

toolbox::io::Waker::~Waker ( )
virtualdefault

◆ Waker() [2/3]

toolbox::io::Waker::Waker ( const Waker )
defaultnoexcept

◆ Waker() [3/3]

toolbox::io::Waker::Waker ( Waker &&  )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

Waker & toolbox::io::Waker::operator= ( const Waker )
defaultnoexcept

◆ operator=() [2/2]

Waker & toolbox::io::Waker::operator= ( Waker &&  )
defaultnoexcept

◆ wakeup()

void toolbox::io::Waker::wakeup ( )
inlinenoexcept

Definition at line 40 of file Waker.hpp.

Referenced by toolbox::io::ReactorRunner::~ReactorRunner().

◆ do_wakeup()

virtual void toolbox::io::Waker::do_wakeup ( )
protectedpure virtualnoexcept

Implemented in toolbox::io::Reactor.


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