CbmRoot
Loading...
Searching...
No Matches
services/histserv/tester/Application.h
Go to the documentation of this file.
1/* Copyright (C) 2023-2024 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau [committer], Sergei Zharko */
4
5#ifndef CBM_SERVICES_HISTSERV_TESTER_APPLICATION_H
6#define CBM_SERVICES_HISTSERV_TESTER_APPLICATION_H 1
7
8#include "HistogramSender.h"
9#include "ProgramOptions.h"
10
11#include <memory>
12
14{
15
17
18 public:
21 explicit Application(ProgramOptions const& opt);
22
24 Application(const Application&) = delete;
25
28
31
34
36 ~Application() = default;
37
39 void Exec();
40
41 private:
43
45 std::shared_ptr<cbm::algo::HistogramSender> fpSender = nullptr;
46 };
47
48} // namespace cbm::services::histserv_tester
49
50#endif /* CBM_SERVICES_HISTSERV_TESTER_APPLICATION_H */
Application(Application &&)=delete
Move constructor forbidden.
Application & operator=(const Application &)=delete
Copy assignment operator forbidden.
Application(const Application &)=delete
Copy constructor forbidden.
ProgramOptions const & fOpt
Program options object.
std::shared_ptr< cbm::algo::HistogramSender > fpSender
Interface.
Application & operator=(Application &&)=delete
Move assignment operator forbidden.
Application(ProgramOptions const &opt)
Standard constructor, initialises the application.