ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Adapts boost::asio::io_context into a compatible boost::thread Executor type. More...
#include <ioExecutor.hpp>
Public Member Functions | |
IoExecutor (boost::asio::io_context &ctx) | |
IoExecutor (IoExecutor &&)=default | |
IoExecutor & | operator= (IoExecutor &&)=default |
IoExecutor (IoExecutor const &)=delete | |
IoExecutor & | operator= (IoExecutor &)=delete |
void | close () |
bool | closed () |
template<typename Closure > | |
void | submit (Closure &&closure) |
bool | try_executing_one () |
boost::asio::io_context & | get_io_context () noexcept |
Not part of the boost::thread::executor concept. More... | |
Adapts boost::asio::io_context into a compatible boost::thread Executor type.
This must match boost::thread Executor concept.
Definition at line 12 of file ioExecutor.hpp.
|
inlineexplicit |
Definition at line 14 of file ioExecutor.hpp.
|
default |
|
delete |
|
inline |
Definition at line 22 of file ioExecutor.hpp.
|
inline |
Definition at line 25 of file ioExecutor.hpp.
|
inlinenoexcept |
Not part of the boost::thread::executor concept.
Definition at line 41 of file ioExecutor.hpp.
|
default |
|
delete |
|
inline |
Definition at line 30 of file ioExecutor.hpp.
|
inline |
Definition at line 34 of file ioExecutor.hpp.