Lely core libraries  2.3.4
lely::ev::FiberExecutor Class Reference

A fiber executor. More...

#include <fiber_exec.hpp>

Inheritance diagram for lely::ev::FiberExecutor:
Collaboration diagram for lely::ev::FiberExecutor:

Public Member Functions

 FiberExecutor (Executor inner_exec)
 
 ~FiberExecutor ()
 
Executor get_inner_executor () const noexcept
 
- Public Member Functions inherited from lely::ev::Executor
void on_task_init () noexcept
 
void on_task_fini () noexcept
 
bool dispatch (ev_task &task) noexcept
 
template<class F , class... Args>
typename ::std::enable_if< !::std::is_base_of< ev_task, typename ::std::decay< F >::type >::value, bool >::type dispatch (F &&f, Args &&... args)
 
void post (ev_task &task) noexcept
 
template<class F , class... Args>
typename ::std::enable_if< !::std::is_base_of< ev_task, typename ::std::decay< F >::type >::value >::type post (F &&f, Args &&... args)
 
void defer (ev_task &task) noexcept
 
template<class F , class... Args>
typename ::std::enable_if< !::std::is_base_of< ev_task, typename ::std::decay< F >::type >::value >::type defer (F &&f, Args &&... args)
 
bool abort (ev_task &task) noexcept
 
::std::size_t abort_all () noexcept
 
void run (ev_task &task) noexcept
 

Detailed Description

A fiber executor.

Definition at line 115 of file fiber_exec.hpp.

Constructor & Destructor Documentation

◆ FiberExecutor()

lely::ev::FiberExecutor::FiberExecutor ( Executor  inner_exec)
inlineexplicit
See also
ev_fiber_exec_create()

Definition at line 118 of file fiber_exec.hpp.

◆ ~FiberExecutor()

lely::ev::FiberExecutor::~FiberExecutor ( )
inline
See also
ev_fiber_exec_destroy()

Definition at line 139 of file fiber_exec.hpp.

Member Function Documentation

◆ get_inner_executor()

Executor lely::ev::FiberExecutor::get_inner_executor ( ) const
inlinenoexcept
See also
ev_fiber_exec_get_inner_exec()

Definition at line 143 of file fiber_exec.hpp.


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