ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
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 
16 namespace 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  */
26 json::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:266