ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Classes | Namespaces | Functions
startDaqV2.hpp File Reference
#include <chrono>
#include <optional>
#include <variant>
#include <vector>
#include <nlohmann/json.hpp>
#include <daq/json/commonSpecTypes.hpp>
#include <daq/json/schemaError.hpp>

Go to the source code of this file.

Classes

struct  daq::json::StartDaqV2SpecError
 
struct  daq::json::StartDaqV2Spec
 Structure with a close mapping from JSON representation in the StartDaqV2 MAL request. More...
 
struct  daq::json::StartDaqV2Spec::DataSource
 
struct  daq::json::StartDaqV2Spec::PrimaryDataSource
 
struct  daq::json::StartDaqV2Spec::MetadataSource
 
struct  daq::json::StartDaqV2Spec::MergeTarget
 

Namespaces

 daq
 
 daq::json
 

Functions

bool daq::json::operator== (StartDaqV2Spec::PrimaryDataSource const &lhs, StartDaqV2Spec::PrimaryDataSource const &rhs) noexcept
 
bool daq::json::operator== (StartDaqV2Spec::MetadataSource const &lhs, StartDaqV2Spec::MetadataSource const &rhs) noexcept
 
bool daq::json::operator== (StartDaqV2Spec::MergeTarget const &lhs, StartDaqV2Spec::MergeTarget const &rhs) noexcept
 
bool daq::json::operator== (StartDaqV2Spec const &lhs, StartDaqV2Spec const &rhs) noexcept
 
StartDaqV2Spec daq::json::ParseStartDaqV2Spec (nlohmann::json const &json)
 Parse StartDaqSpec. More...
 
void daq::json::to_json (nlohmann::json &json, StartDaqV2Spec const &spec)
 Serialize to JSON. More...
 

Detailed Description

Definition in file startDaqV2.hpp.


Class Documentation

◆ daq::json::StartDaqV2Spec

struct daq::json::StartDaqV2Spec

Structure with a close mapping from JSON representation in the StartDaqV2 MAL request.

Parts of this will end up being used in CreateDataProductSpecification(), like the keyword rules.

Definition at line 33 of file startDaqV2.hpp.

Class Members
typedef variant< PrimaryDataSource, MetadataSource, FitsKeywordsSource, FitsFileSource > DataSourceTypes
Class Members
optional< milliseconds > await_completion_interval
string file_prefix
string id
optional< MergeTarget > merge_target
vector< DataSourceTypes > sources

◆ daq::json::StartDaqV2Spec::MergeTarget

struct daq::json::StartDaqV2Spec::MergeTarget

Definition at line 46 of file startDaqV2.hpp.

Class Members
string source_name