ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Classes | Functions
daq::v2 Namespace Reference

Classes

struct  CommonSourceSpecifications
 Per data source common specification that is only used for more efficient lookup. More...
 

Functions

std::unordered_map< std::string, CommonSourceSpecificationsMakeCommonSpecifications (json::StartDaqV2Spec const &spec)
 
json::DpSpec MakeDataProductSpecification (DaqContext const &ctx, log4cplus::Logger &logger)
 Creates and returns the /sources and /target structures using DaqContext::specification. More...
 

Class Documentation

◆ daq::v2::CommonSourceSpecifications

struct daq::v2::CommonSourceSpecifications

Per data source common specification that is only used for more efficient lookup.

Definition at line 117 of file makeDpSpec.cpp.

Class Members
size_t index Position index in original specification, used to order sources.
optional< InitialKeywords > initial_keywords
KeywordRules keyword_rules

Function Documentation

◆ MakeCommonSpecifications()

std::unordered_map<std::string, CommonSourceSpecifications> daq::v2::MakeCommonSpecifications ( json::StartDaqV2Spec const &  spec)

Definition at line 127 of file makeDpSpec.cpp.

◆ MakeDataProductSpecification()

json::DpSpec daq::v2::MakeDataProductSpecification ( DaqContext const &  ctx,
log4cplus::Logger &  logger 
)

Creates and returns the /sources and /target structures using DaqContext::specification.

Assumptions:

  • source names are unique (DAQ result DpPart is uniqely identifying where it comes from.

Definition at line 155 of file makeDpSpec.cpp.