ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
makeDpSpec.hpp
Go to the documentation of this file.
1/**
2* @file
3* @ingroup daq_libdaq
4* @copyright
5* (c) Copyright ESO 2022
6* All Rights Reserved
7* ESO (eso.org) is an Intergovernmental Organisation, and therefore special legal conditions apply.
8*/
9#ifndef DAQ_MAKEDPSPEC_HPP
10#define DAQ_MAKEDPSPEC_HPP
11#include <log4cplus/logger.h>
12
13#include <daq/daqContext.hpp>
14#include <daq/json/dpSpec.hpp>
15
16namespace daq {
17
18/**
19 * Creates a Data Product Specification as serialized JSON from the provided DaqContext.
20 *
21 * DaqContext::specification influences:
22 * - Source merge order
23 * - Merge target.
24 * - Keyword rules.
25 */
26json::DpSpec MakeDataProductSpecification(DaqContext const& ctx, log4cplus::Logger& logger);
27
28}
29#endif // DAQ_MAKEDPSPEC_HPP
Contains declaration of daq::Context.
json::DpSpec MakeDataProductSpecification(DaqContext const &ctx, log4cplus::Logger &logger)
Creates a Data Product Specification as serialized JSON from the provided DaqContext.
Definition: makeDpSpec.cpp:282