11#ifndef O2_FRAMEWORK_COMPLETIONPOLICY_H_
12#define O2_FRAMEWORK_COMPLETIONPOLICY_H_
GLuint const GLchar * name
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
Defining PrimaryVertex explicitly as messageable.
std::ostream & operator<<(std::ostream &s, ChannelType const &type)
Stream operators so that we can use ChannelType with Boost.Test.
Defining DataPointCompositeObject explicitly as copiable.
CompletionPolicy(std::string _name, Matcher _matcher, CallbackFull _callback, bool _balanceChannels=true)
Constructor for emplace_back.
static std::vector< CompletionPolicy > createDefaultPolicies()
Helper to create the default configuration.
CompletionOrder
Order in which the completed slots must be consumed.
CompletionOp
Action to take with the InputRecord:
@ Retry
Like Wait but mark the cacheline as dirty.
CompletionPolicy()
Constructor.
CallbackConfigureRelayer configureRelayer
std::function< CompletionOp(InputSpan const &, std::vector< InputSpec > const &, ServiceRegistryRef &)> CallbackFull
std::function< void(DataRelayer &)> CallbackConfigureRelayer
CallbackFull callbackFull
Actual policy which decides what to do with a partial InputRecord, extended version.
std::function< bool(DeviceSpec const &device)> Matcher