VOX
A little voxel engine
Loading...
Searching...
No Matches
Poller Class Reference

#include <Poller.hpp>

Collaboration diagram for Poller:
Collaboration graph

Public Member Functions

 Poller ()
 
virtual ~Poller ()
 
 Poller (const Poller &other)=delete
 
Polleroperator= (const Poller &other)=delete
 
 Poller (Poller &&other)
 
Polleroperator= (Poller &&other)
 
void add (const uint64_t &id, const Socket &socket)
 
void remove (const Socket &socket)
 
std::pair< size_t, epoll_event * > wait (const int &timeout_ms)
 

Constructor & Destructor Documentation

◆ Poller() [1/3]

Poller::Poller ( )

◆ ~Poller()

Poller::~Poller ( )
virtual

◆ Poller() [2/3]

Poller::Poller ( const Poller other)
delete

◆ Poller() [3/3]

Poller::Poller ( Poller &&  other)

Member Function Documentation

◆ add()

void Poller::add ( const uint64_t &  id,
const Socket socket 
)

◆ operator=() [1/2]

Poller & Poller::operator= ( const Poller other)
delete

◆ operator=() [2/2]

Poller & Poller::operator= ( Poller &&  other)

◆ remove()

void Poller::remove ( const Socket socket)

◆ wait()

std::pair< size_t, epoll_event * > Poller::wait ( const int &  timeout_ms)

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