VOX
A little voxel engine
|
#include <Poller.hpp>
Public Member Functions | |
Poller () | |
virtual | ~Poller () |
Poller (const Poller &other)=delete | |
Poller & | operator= (const Poller &other)=delete |
Poller (Poller &&other) | |
Poller & | operator= (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) |
Poller::Poller | ( | ) |
|
virtual |
|
delete |
Poller::Poller | ( | Poller && | other | ) |
void Poller::add | ( | const uint64_t & | id, |
const Socket & | socket | ||
) |
void Poller::remove | ( | const Socket & | socket | ) |
std::pair< size_t, epoll_event * > Poller::wait | ( | const int & | timeout_ms | ) |