ifw-daq
2.1.0-pre1
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/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
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::DpSpec
Close representation of the JSON structure but with stronger types.
Definition:
dpSpec.hpp:28
sourceResolver.hpp
Declares daq::dpm::SourceResolver.
dpSpec.hpp
daq::dpm::SourceResolver
Provides location of fits source file.
Definition:
sourceResolver.hpp:27
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, DpSpec const &spec, SourceResolver const &resolver, bool dry_run, bool use_json)
Definition:
entrypoint.cpp:124
Generated by
1.8.20