Skip to content

InputChannelHandlers

struct InputChannelHandlers

Container of handlers for InputChannel, to be passed to

bool registerChannelMonitor(const std::string& channelName, const InputChannelHandlers& handlers, const karabo::data::Hash& inputChannelCfg = karabo::data::Hash());

See documentation of that method for meaning of various handlers.

Functions

Name Description
InputChannelHandlers Construct with all handlers except input handler (could be specified afterwards)
InputChannelHandlers Construct with all handlers except data handler (could be specified afterwards)

Function Details

InputChannelHandlers

explicit InputChannelHandlers(const karabo::xms::SignalSlotable::DataHandler& data, const karabo::xms::SignalSlotable::InputHandler& eos = karabo::xms::SignalSlotable::InputHandler(), const std::function<void(karabo::net::ConnectionStatus)>& status = std::function<void(karabo::net::ConnectionStatus)>())

Construct with all handlers except input handler (could be specified afterwards)

explicit InputChannelHandlers(const karabo::xms::SignalSlotable::InputHandler& input, const karabo::xms::SignalSlotable::InputHandler& eos = karabo::xms::SignalSlotable::InputHandler(), const std::function<void(karabo::net::ConnectionStatus)>& status = std::function<void(karabo::net::ConnectionStatus)>())

Construct with all handlers except data handler (could be specified afterwards)