Project
Loading...
Searching...
No Matches
o2::framework::DispatchControl Struct Reference

Control for the message dispatching within message context. Depending on dispatching policy, objects which get ready to be sent during computing can be scheduled to be sent immediately. The trigger callback is used to decide when to sent the scheduled messages via the actual dispatch callback. More...

#include <DispatchControl.h>

Public Types

using DispatchCallback = std::function< void(fair::mq::Parts &&message, ChannelIndex index, int)>
 
using DispatchTrigger = std::function< bool(o2::header::DataHeader const &)>
 

Public Attributes

DispatchCallback dispatch
 
DispatchTrigger trigger
 

Detailed Description

Control for the message dispatching within message context. Depending on dispatching policy, objects which get ready to be sent during computing can be scheduled to be sent immediately. The trigger callback is used to decide when to sent the scheduled messages via the actual dispatch callback.

Definition at line 35 of file DispatchControl.h.

Member Typedef Documentation

◆ DispatchCallback

Definition at line 36 of file DispatchControl.h.

◆ DispatchTrigger

Definition at line 37 of file DispatchControl.h.

Member Data Documentation

◆ dispatch

DispatchCallback o2::framework::DispatchControl::dispatch

Definition at line 39 of file DispatchControl.h.

◆ trigger

DispatchTrigger o2::framework::DispatchControl::trigger

Definition at line 41 of file DispatchControl.h.


The documentation for this struct was generated from the following file: