DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
config_ui_info.hpp
Go to the documentation of this file.
1// DUNE DAQ modification notice:
2// This file has been modified from the original ATLAS dbe source for the DUNE DAQ project.
3// Fork baseline commit: dbe-02-12-17 (2022-05-12).
4// Renamed since fork: yes (from dbe/config_ui_info.h to include/dbe/config_ui_info.hpp).
5
6/*
7 * configuration.h
8 *
9 * Created on: Mar 22, 2016
10 * Author: Leonidas Georgopoulos
11 */
12
13#ifndef DBE_CONFIG_UI_INFO_H_
14#define DBE_CONFIG_UI_INFO_H_
15
16#include "dbe/datahandler.hpp"
20#include <memory>
21#include <vector>
22#include <string>
23#include <map>
24
25namespace dbe
26{
27namespace ui
28{
29namespace config
30{
31
36class info
37{
38public:
39 info ( std::vector<std::string> const & file );
40
41 GraphicalClass graphical ( std::string const & ) const;
42 ViewConfiguration view ( std::string const & ) const;
43 Window window ( std::string const & ) const;
44
45 std::vector<Window> windows() const;
46 std::vector<ViewConfiguration> views() const;
47 std::vector<GraphicalClass> graphicals() const;
48
49private:
50 void parse();
51 void parse_graphical ( std::shared_ptr<dunedaq::conffwk::Configuration> , dunedaq::conffwk::ConfigObject & );
52 void parse_window ( std::shared_ptr<dunedaq::conffwk::Configuration> , dunedaq::conffwk::ConfigObject & );
53
54 std::map<std::string, Window> this_windows;
55 std::map<std::string, GraphicalClass> this_graphical;
56 std::map<std::string, ViewConfiguration> this_views;
57
58 std::vector<std::string> this_full_filenames;
59};
60} /* namespace config */
61} /* namespace ui */
62} /* namespace dbe */
63
64#endif /* DBE_CONFIG_UI_INFO_H_ */
std::vector< std::string > this_full_filenames
void parse_graphical(std::shared_ptr< dunedaq::conffwk::Configuration >, dunedaq::conffwk::ConfigObject &)
std::vector< Window > windows() const
Window window(std::string const &) const
std::map< std::string, Window > this_windows
std::map< std::string, GraphicalClass > this_graphical
void parse_window(std::shared_ptr< dunedaq::conffwk::Configuration >, dunedaq::conffwk::ConfigObject &)
GraphicalClass graphical(std::string const &) const
std::vector< GraphicalClass > graphicals() const
ViewConfiguration view(std::string const &) const
info(std::vector< std::string > const &file)
std::map< std::string, ViewConfiguration > this_views
std::vector< ViewConfiguration > views() const
Represents database objects.
conffwk entry point
Include QT Headers.