ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
dpm
merge
src
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
>
12
#include <
daq/dpm/sourceResolver.hpp
>
13
14
namespace
daq::dpm::merge
{
15
/**
16
* Validates and loads data sources to the format expected by the merge function.
17
*/
18
int
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
daq::dpm::SourceResolver
Provides location of fits source file.
Definition:
sourceResolver.hpp:27
dpSpec.hpp
daq::dpm::merge
Definition:
entrypoint.cpp:26
daq::dpm::merge::Entrypoint
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
daq::json::DpSpec
Close representation of the JSON structure but with stronger types.
Definition:
dpSpec.hpp:30
sourceResolver.hpp
Declares daq::dpm::SourceResolver.
Generated by
1.9.1