DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
conffwk
include
conffwk
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
15
namespace
dunedaq
{
16
namespace
conffwk
{
17
18
class
ConfigObject
;
19
21
22
class
ConfigAction
{
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_
Change.hpp
dunedaq::conffwk::ConfigAction
Definition
ConfigAction.hpp:22
dunedaq::conffwk::ConfigAction::notify
virtual void notify(std::vector< ConfigurationChange * > &changes) noexcept=0
Call action on database changes.
dunedaq::conffwk::ConfigAction::load
virtual void load() noexcept=0
Call action on database file(s) load.
dunedaq::conffwk::ConfigAction::~ConfigAction
virtual ~ConfigAction()
Definition
ConfigAction.hpp:25
dunedaq::conffwk::ConfigAction::update
virtual void update(const ConfigObject &obj, const std::string &name) noexcept=0
Call action on database object modification by user's code.
dunedaq::conffwk::ConfigAction::unload
virtual void unload() noexcept=0
Call action on database file(s) unload.
dunedaq::conffwk::ConfigObject
Represents database objects.
Definition
ConfigObject.hpp:53
dunedaq::conffwk
Definition
Change.hpp:23
dunedaq
Including Qt Headers.
Definition
module.cpp:16
dunedaq::obj
msgpack::object obj
Definition
Serialization.hpp:257
std
Definition
SchemaUtils.hpp:118
Generated on
for DUNE-DAQ by
1.17.0