Skip to content

Class cubsocket::epoll

ClassList > cubsocket > epoll

  • #include <epoll.hpp>

Inherits the following classes: cubsocket::nonblocking

Public Functions

Type Name
bool add_descriptor (int fd, std::uint32_t flags, void * ptr=nullptr) noexcept
epoll ()
epoll (const epoll & other) = delete
bool modify_descriptor (int fd, std::uint32_t flags, void * ptr=nullptr) noexcept
epoll & operator= (const epoll & other) = delete
bool remove_descriptor (int fd) noexcept
virtual int wait (void * events, int maxevents, int timeout) noexcept
~epoll ()

Public Functions inherited from cubsocket::nonblocking

See cubsocket::nonblocking

Type Name
int get_flags (int fd) noexcept
bool is_nonblocking (int fd) noexcept
nonblocking ()
int set_flags (int fd, int flags) noexcept
virtual int wait (void * events, int maxevents, int timeout) = 0
~nonblocking ()

Public Functions Documentation

function add_descriptor

bool cubsocket::epoll::add_descriptor (
    int fd,
    std::uint32_t flags,
    void * ptr=nullptr
) noexcept

function epoll [1/2]

cubsocket::epoll::epoll () 

function epoll [2/2]

cubsocket::epoll::epoll (
    const  epoll & other
) = delete

function modify_descriptor

bool cubsocket::epoll::modify_descriptor (
    int fd,
    std::uint32_t flags,
    void * ptr=nullptr
) noexcept

function operator=

epoll & cubsocket::epoll::operator= (
    const  epoll & other
) = delete

function remove_descriptor

bool cubsocket::epoll::remove_descriptor (
    int fd
) noexcept

function wait

virtual int cubsocket::epoll::wait (
    void * events,
    int maxevents,
    int timeout
) noexcept

Implements cubsocket::nonblocking::wait


function ~epoll

cubsocket::epoll::~epoll () 


The documentation for this class was generated from the following file cubrid/src/base/epoll.hpp