ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Classes | Namespaces | Functions
makeDpSpec.cpp File Reference
#include <daq/makeDpSpec.hpp>
#include <fmt/format.h>
#include <log4cplus/loggingmacros.h>
#include <daq/fits/json.hpp>
#include <daq/json/dpSpec.hpp>

Go to the source code of this file.

Classes

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

Namespaces

 daq
 
 daq::v1
 
 daq::v2
 

Functions

std::string daq::MakeOcmName (DaqContext const &ctx)
 
json::FitsKeywordsSource daq::MakeOcmKeywords (DaqContext const &ctx, log4cplus::Logger &logger)
 Make OCM keywords source. More...
 
json::DpSpec daq::v1::MakeDataProductSpecification (DaqContext const &ctx, log4cplus::Logger &logger)
 
std::unordered_map< std::string, CommonSourceSpecifications > daq::v2::MakeCommonSpecifications (json::StartDaqV2Spec const &spec)
 
json::DpSpec daq::v2::MakeDataProductSpecification (DaqContext const &ctx, log4cplus::Logger &logger)
 Creates and returns the /sources and /target structures using DaqContext::specification. More...
 
json::DpSpec daq::MakeDataProductSpecification (DaqContext const &ctx, log4cplus::Logger &logger)
 Creates a Data Product Specification as serialized JSON from the provided DaqContext. More...
 

Detailed Description

Definition in file makeDpSpec.cpp.


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