ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
entrypoint.hpp
Go to the documentation of this file.
1/**
2 * @file
3 * @ingroup daq_dpm_merge
4 * @copyright ESO - European Southern Observatory
5 */
6#ifndef DAQ_DPM_MERGE_ENTRYPOINT_HPP
7#define DAQ_DPM_MERGE_ENTRYPOINT_HPP
8#include <filesystem>
9#include <optional>
10
11#include <daq/json/dpSpec.hpp>
13
14namespace daq::dpm::merge {
15/**
16 * Validates and loads data sources to the format expected by the merge function.
17 */
18int Entrypoint(std::filesystem::path const& root,
19 std::optional<std::filesystem::path> const& dp_path,
20 json::DpSpec const& spec,
21 SourceResolver const& resolver,
22 bool dry_run,
23 bool use_json);
24
25} // namespace daq::dpm::merge
26
27#endif // #ifndef DAQ_DPM_MERGE_ENTRYPOINT_HPP
Provides location of fits source file.
int Entrypoint(fs::path const &root, std::optional< fs::path > const &opt_out_path, json::DpSpec const &spec, SourceResolver const &resolver, bool dry_run, bool use_json)
Definition: entrypoint.cpp:145
Close representation of the JSON structure but with stronger types.
Definition: dpSpec.hpp:30
Declares daq::dpm::SourceResolver.