Lely core libraries  2.2.5
lely::io::ContextBase Class Reference

A refence to an I/O context. This class is a wrapper around #io_ctx_t*. More...

#include <ctx.hpp>

Inheritance diagram for lely::io::ContextBase:
Collaboration diagram for lely::io::ContextBase:

Public Member Functions

void insert (io_svc &svc) noexcept
 
void remove (io_svc &svc) noexcept
 
void notify_fork (ForkEvent e, ::std::error_code &ec) noexcept
 
void notify_fork (ForkEvent e)
 
void shutdown () noexcept
 

Detailed Description

A refence to an I/O context. This class is a wrapper around #io_ctx_t*.

Definition at line 49 of file ctx.hpp.

Member Function Documentation

◆ insert()

void lely::io::ContextBase::insert ( io_svc svc)
inlinenoexcept
See also
io_ctx_insert()

Definition at line 57 of file ctx.hpp.

◆ remove()

void lely::io::ContextBase::remove ( io_svc svc)
inlinenoexcept
See also
io_ctx_remove()

Definition at line 63 of file ctx.hpp.

◆ notify_fork() [1/2]

void lely::io::ContextBase::notify_fork ( ForkEvent  e,
::std::error_code &  ec 
)
inlinenoexcept
See also
io_ctx_notify_fork()

Definition at line 69 of file ctx.hpp.

◆ notify_fork() [2/2]

void lely::io::ContextBase::notify_fork ( ForkEvent  e)
inline
See also
io_ctx_notify_fork()

Definition at line 81 of file ctx.hpp.

◆ shutdown()

void lely::io::ContextBase::shutdown ( )
inlinenoexcept
See also
io_ctx_shutdown()

Definition at line 89 of file ctx.hpp.


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