template<class Request>
eckit::PipeHandler class

Base classes

class ProcessControler
template<class T>
class ClassExtent<PipeHandler<Request>>
template<class Request>
struct DefaultHandler<Request>

Public static functions

static auto isRunning(pid_t) -> bool
static auto size() -> size_t
static void callAll(void(T::*)())
static void callAll(void(T::*)() const)
static void callAll(void(T::*)(P), P)
static void callAll(void(T::*)(P) const, P)
static void callAll(void(T::*)(P1, P2), P1, P2)
static void callAll(void(T::*)(P&) const, P&)
static void callAll(void(T::*)(P&), P&)
static void callAll(void(T::*)(P1&, P2&), P1&, P2&)
static auto size() -> size_t
static void callAll(void(T::*)())
static void callAll(void(T::*)(P), P)
static void callAll(void(T::*)(P1, P2), P1, P2)
static void callAll(void(T::*)(P&) const, P&)
static void callAll(void(T::*)(P1&, P2&), P1&, P2&)
static void print(std::ostream&, const Request&)
static void json(JSON&, const Request&)

Constructors, destructors, conversion operators

PipeHandler()
~PipeHandler()

Public functions

void handle(const std::vector<Request*>&)
void pick(std::list<Request*>&, std::vector<Request*>&)
void idle()
auto busy() const -> bool
void ready(bool&)
void age(time_t&)
void start() override
void stop() override
void kill() virtual
void wait() virtual
auto active() -> bool virtual

Private functions

void endBatch(Stream&) virtual
void run() override

Function documentation

template<class Request>
static bool eckit::PipeHandler<Request>::isRunning(pid_t)

template<class Request>
static size_t eckit::PipeHandler<Request>::size()

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)())

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)() const)

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)(P), P)

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)(P) const, P)

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)(P1, P2), P1, P2)

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)(P&) const, P&)

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)(P&), P&)

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)(P1&, P2&), P1&, P2&)

template<class Request>
static size_t eckit::PipeHandler<Request>::size()

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)())

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)(P), P)

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)(P1, P2), P1, P2)

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)(P&) const, P&)

template<class Request>
static void eckit::PipeHandler<Request>::callAll(void(T::*)(P1&, P2&), P1&, P2&)

template<class Request>
static void eckit::PipeHandler<Request>::print(std::ostream&, const Request&)

template<class Request>
static void eckit::PipeHandler<Request>::json(JSON&, const Request&)

template<class Request>
void eckit::PipeHandler<Request>::kill() virtual

template<class Request>
void eckit::PipeHandler<Request>::wait() virtual

template<class Request>
bool eckit::PipeHandler<Request>::active() virtual