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

#include <O2DataModelHelpers.h>

Static Public Member Functions

template<typename F >
static void for_each_header (fair::mq::Parts &parts, F &&f)
 
template<typename F >
static bool any_header_matching (fair::mq::Parts &parts, F &&f)
 
template<typename F >
static bool all_headers_matching (fair::mq::Parts &parts, F &&f)
 
static void updateMissingSporadic (fair::mq::Parts &parts, std::vector< OutputSpec > const &specs, std::vector< bool > &present)
 
static bool validateOutputs (std::vector< bool > &present)
 
static std::string describeMissingOutputs (std::vector< OutputSpec > const &specs, std::vector< bool > const &present)
 

Detailed Description

Set of helpers to deal with the O2 data model in particular the way we deal with the split payloads and the associated headers.

Definition at line 24 of file O2DataModelHelpers.h.

Member Function Documentation

◆ all_headers_matching()

template<typename F >
static bool o2::framework::O2DataModelHelpers::all_headers_matching ( fair::mq::Parts &  parts,
F &&  f 
)
inlinestatic

Definition at line 59 of file O2DataModelHelpers.h.

◆ any_header_matching()

template<typename F >
static bool o2::framework::O2DataModelHelpers::any_header_matching ( fair::mq::Parts &  parts,
F &&  f 
)
inlinestatic

Definition at line 42 of file O2DataModelHelpers.h.

◆ describeMissingOutputs()

std::string o2::framework::O2DataModelHelpers::describeMissingOutputs ( std::vector< OutputSpec > const &  specs,
std::vector< bool > const &  present 
)
static

Definition at line 45 of file O2DataModelHelpers.cxx.

◆ for_each_header()

template<typename F >
static void o2::framework::O2DataModelHelpers::for_each_header ( fair::mq::Parts &  parts,
F &&  f 
)
inlinestatic

Apply the function F to each header keeping into account the split payloads.

Definition at line 28 of file O2DataModelHelpers.h.

◆ updateMissingSporadic()

void o2::framework::O2DataModelHelpers::updateMissingSporadic ( fair::mq::Parts &  parts,
std::vector< OutputSpec > const &  specs,
std::vector< bool > &  present 
)
static

Definition at line 17 of file O2DataModelHelpers.cxx.

◆ validateOutputs()

static bool o2::framework::O2DataModelHelpers::validateOutputs ( std::vector< bool > &  present)
inlinestatic

Definition at line 74 of file O2DataModelHelpers.h.


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