#include <toolbox/io/Reactor.hpp>
Definition at line 33 of file Reactor.hpp.
◆ Event
◆ HookType
Enumerator |
---|
EndOfCycleNoWait | |
EndOfEventDispatch | |
Definition at line 37 of file Reactor.hpp.
◆ Reactor() [1/3]
toolbox::io::Reactor::Reactor |
( |
std::size_t |
size_hint = 0 | ) |
|
|
explicit |
◆ ~Reactor()
toolbox::io::Reactor::~Reactor |
( |
| ) |
|
|
override |
◆ Reactor() [2/3]
◆ Reactor() [3/3]
toolbox::io::Reactor::Reactor |
( |
Reactor && |
| ) |
|
|
delete |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ subscribe()
◆ timer() [1/2]
Throws std::bad_alloc only.
Definition at line 147 of file Reactor.hpp.
◆ timer() [2/2]
Throws std::bad_alloc only.
Definition at line 152 of file Reactor.hpp.
◆ add_hook()
◆ poll()
Poll for I/O and timer events. The thread-local cycle time is unconditionally updated after the call to epoll() returns. Returns the number of events signalled.
Definition at line 72 of file Reactor.cpp.
◆ yield()
void toolbox::io::Reactor::yield |
( |
| ) |
|
◆ set_high_priority_poll_threshold()
void toolbox::io::Reactor::set_high_priority_poll_threshold |
( |
Micros |
thresh | ) |
|
|
inline |
◆ do_wakeup()
void toolbox::io::Reactor::do_wakeup |
( |
| ) |
|
|
finalprotectedvirtualnoexcept |
The documentation for this class was generated from the following files: