DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
ConfigAction.hpp
Go to the documentation of this file.
1//
2// DUNE DAQ modification notice:
3// This file has been modified from the original ATLAS config source for the DUNE DAQ project.
4// Fork baseline commit: 67a24e731 (2022-10-27).
5// Renamed since fork: yes (from config/ConfigAction.h to include/conffwk/ConfigAction.hpp).
6//
7
8#ifndef CONFFWK_ACTION_H_
9#define CONFFWK_ACTION_H_
10
11#include <string>
12
13#include "conffwk/Change.hpp"
14
15namespace dunedaq {
16namespace conffwk {
17
18class ConfigObject;
19
21
23
24 public:
25 virtual ~ConfigAction(){};
26
28 virtual void notify( std::vector<ConfigurationChange *>& changes ) noexcept = 0;
29
31 virtual void load( ) noexcept = 0;
32
34 virtual void unload( ) noexcept = 0;
35
37 virtual void update( const ConfigObject& obj, const std::string& name) noexcept = 0;
38
39};
40} // namespace conffwk
41} // namespace dunedaq
42
43#endif // CONFFWK_DAL_ACTION_H_
virtual void notify(std::vector< ConfigurationChange * > &changes) noexcept=0
Call action on database changes.
virtual void load() noexcept=0
Call action on database file(s) load.
virtual void update(const ConfigObject &obj, const std::string &name) noexcept=0
Call action on database object modification by user's code.
virtual void unload() noexcept=0
Call action on database file(s) unload.
Represents database objects.
Including Qt Headers.
Definition module.cpp:16
msgpack::object obj