DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
ConfigAction.hpp
Go to the documentation of this file.
1#ifndef CONFFWK_ACTION_H_
2#define CONFFWK_ACTION_H_
3
4#include <string>
5
6#include "conffwk/Change.hpp"
7
8namespace dunedaq {
9namespace conffwk {
10
11class ConfigObject;
12
16
17 public:
18 virtual ~ConfigAction(){};
19
21 virtual void notify( std::vector<ConfigurationChange *>& changes ) noexcept = 0;
22
24 virtual void load( ) noexcept = 0;
25
27 virtual void unload( ) noexcept = 0;
28
30 virtual void update( const ConfigObject& obj, const std::string& name) noexcept = 0;
31
32};
33} // namespace conffwk
34} // namespace dunedaq
35
36#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.