CbmRoot
Loading...
Searching...
No Matches
services/run_info/app/Application.h
Go to the documentation of this file.
1/* Copyright (C) 2025 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Sergei Zharko [committer] */
4
9
10#pragma once
11
12#include <cstdint>
13#include <optional>
14#include <string>
15
17{
32
36 public:
38 Application() = default;
39
41 Application(const Application&) = default;
42
45
47 Application& operator=(const Application&) = default;
48
51
53 ~Application() = default;
54
58 std::optional<EInfo> ParseOptions(int argc, char* argv[]);
59
62 void Print(EInfo info) const;
63
64 private:
65 uint32_t fRunId{0};
66 };
67} // namespace cbm::services::run_info
Application(const Application &)=default
Copy constructor.
Application & operator=(Application &&)=default
Move assignment operator.
Application & operator=(const Application &)=default
Copy assignment operator.
Application()=default
Constructor from parameters.
std::optional< EInfo > ParseOptions(int argc, char *argv[])
Parse command line arguments.
Application(Application &&)=default
Move constructor.
@ RecoParDir
Tag of reconstruction parameters.
@ RunStart
Path to algo main configuration file.
@ AlgoConfig
Directory with reconstruction parameters.
@ END
Prints run information into stdout.