Zth (libzth)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
poller.h File Reference
#include <libzth/macros.h>
#include <libzth/allocator.h>
#include <libzth/waiter.h>
#include <libzth/worker.h>
#include <bitset>
#include <memory>
#include <stdexcept>
#include <vector>
#include <functional>
#include <initializer_list>
#include <zmq.h>

Go to the source code of this file.

Classes

struct  zth::Pollable
 A pollable thing. More...
 
struct  zth::PollableFd
 A pollable file descriptor. More...
 
class  zth::PollerInterface
 Abstract base class of a poller. More...
 
class  zth::PollerClientBase
 The abstract base class of a Poller client. More...
 
class  zth::PollerServerBase
 Abstract base class of a Poller server. More...
 
class  zth::PollerServer< PollItem_ >
 Poller to be executed by the Waiter. More...
 
class  zth::ZmqPoller
 A PollerServer that uses zmq_poll(). More...
 
class  zth::PollerClient
 The poller to be used by a fiber. More...
 

Namespaces

 zth
 

Macros

#define ZTH_HAVE_POLLER
 

Typedefs

typedef ZmqPoller zth::DefaultPollerServer
 The poller server, by default instantiated by the zth::Waiter. More...
 
typedef PollerClient zth::Poller
 The default Poller to use. More...
 

Functions

template<typename P >
int zth::poll (P pollable, int timeout_ms=-1)
 Fiber-aware poll() for a single pollable thing. More...
 

Macro Definition Documentation

◆ ZTH_HAVE_POLLER

#define ZTH_HAVE_POLLER

Definition at line 48 of file poller.h.