20#include <fairmq/Device.h>
30 std::unique_ptr<fair::mq::Message>
msg;
31 device.
device()->Receive(
msg,
"upstream", 0);
32 LOGP(info,
"Callback invoked. Size of the message {}",
msg->GetSize());
34 device.
device()->WaitFor(std::chrono::seconds(minDelay));
44 .inputs = {{{
"external"},
"TST",
"EXT", 0, Lifetime::OutOfBand,
channelParamSpec(
"upstream")}},
virtual fair::mq::Device * device()=0
Defining PrimaryVertex explicitly as messageable.
std::vector< ConfigParamSpec > channelParamSpec(std::string const &name)
std::vector< DataProcessorSpec > WorkflowSpec
AlgorithmSpec::ProcessCallback adaptStateless(LAMBDA l)
AlgorithmSpec::InitCallback adaptStateful(LAMBDA l)
AlgorithmSpec simplePipe(std::string const &what, int minDelay)
WorkflowSpec defineDataProcessing(ConfigContext const &)
This function hooks up the the workflow specifications into the DPL driver.
uint64_t const void const *restrict const msg