![]() |
Project
|
A set of helpers for common ChannelConfigurationPolicy behaviors. More...
#include <ChannelConfigurationPolicyHelpers.h>
Public Types | |
using | PolicyMatcher = std::function< bool(std::string const &producer, std::string const &consumer)> |
using | OutputChannelModifier = std::function< void(OutputChannelSpec &spec)> |
using | InputChannelModifier = std::function< void(InputChannelSpec &spec)> |
Static Public Member Functions | |
static PolicyMatcher | matchByProducerName (const char *name) |
static PolicyMatcher | matchByConsumerName (const char *name) |
static InputChannelModifier | subscribeInput (FairMQChannelConfigSpec const &spec) |
Makes the passed input channel connect and subscribe. | |
static OutputChannelModifier | publishOutput (FairMQChannelConfigSpec const &spec) |
Makes the passed output channel bind and subscribe. | |
static InputChannelModifier | pullInput (FairMQChannelConfigSpec const &spec) |
Makes the passed input channel connect and pull. | |
static OutputChannelModifier | pushOutput (FairMQChannelConfigSpec const &spec) |
Makes the passed output channel bind and push. | |
static InputChannelModifier | reqInput (FairMQChannelConfigSpec const &spec) |
Makes the passed input channel connect and request. | |
static OutputChannelModifier | replyOutput (FairMQChannelConfigSpec const &spec) |
Makes the passed output channel bind and reply. | |
static InputChannelModifier | pairInput (FairMQChannelConfigSpec const &spec) |
Makes the passed input channel connect and pair. | |
static OutputChannelModifier | pairOutput (FairMQChannelConfigSpec const &spec) |
Makes the passed output channel bind and pair. | |
Static Public Attributes | |
static PolicyMatcher | matchAny |
Catch all policy, used by the last rule. | |
A set of helpers for common ChannelConfigurationPolicy behaviors.
Definition at line 29 of file ChannelConfigurationPolicyHelpers.h.
using o2::framework::ChannelConfigurationPolicyHelpers::InputChannelModifier = std::function<void(InputChannelSpec& spec)> |
Definition at line 37 of file ChannelConfigurationPolicyHelpers.h.
using o2::framework::ChannelConfigurationPolicyHelpers::OutputChannelModifier = std::function<void(OutputChannelSpec& spec)> |
Definition at line 36 of file ChannelConfigurationPolicyHelpers.h.
using o2::framework::ChannelConfigurationPolicyHelpers::PolicyMatcher = std::function<bool(std::string const& producer, std::string const& consumer)> |
Definition at line 35 of file ChannelConfigurationPolicyHelpers.h.
|
static |
Definition at line 31 of file ChannelConfigurationPolicyHelpers.cxx.
|
static |
Definition at line 23 of file ChannelConfigurationPolicyHelpers.cxx.
|
static |
Makes the passed input channel connect and pair.
Definition at line 87 of file ChannelConfigurationPolicyHelpers.cxx.
|
static |
Makes the passed output channel bind and pair.
Definition at line 99 of file ChannelConfigurationPolicyHelpers.cxx.
|
static |
Makes the passed output channel bind and subscribe.
Definition at line 51 of file ChannelConfigurationPolicyHelpers.cxx.
|
static |
Makes the passed input channel connect and pull.
Definition at line 63 of file ChannelConfigurationPolicyHelpers.cxx.
|
static |
Makes the passed output channel bind and push.
Definition at line 75 of file ChannelConfigurationPolicyHelpers.cxx.
|
static |
Makes the passed output channel bind and reply.
|
static |
Makes the passed input channel connect and request.
|
static |
Makes the passed input channel connect and subscribe.
Definition at line 39 of file ChannelConfigurationPolicyHelpers.cxx.
|
static |
Catch all policy, used by the last rule.
Definition at line 40 of file ChannelConfigurationPolicyHelpers.h.