DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
NullOpMonFacility.hpp
Go to the documentation of this file.
1#ifndef OPMONLIB_SRC_NULLOPMONFACILITY_HPP_
2#define OPMONLIB_SRC_NULLOPMONFACILITY_HPP_
3
5#include "opmonlib/Utils.hpp"
6
7namespace dunedaq {
8
10 NullOpMonFacilityInvoked,
11 "Something invoked a null OpMonFacility",
12 ERS_EMPTY )
13}
14
15namespace dunedaq::opmonlib {
16
18
19 public:
21
22 void publish(opmon::OpMonEntry && e) const override {
23 throw OpMonPublishFailure(ERS_HERE,
24 get_URI(), e.measurement(),
26 NullOpMonFacilityInvoked(ERS_HERE) );
27 }
28
29 };
30
31} // namespace dunedaq::opmonlib
32
33
34#endif //OPMONLIB_SRC_NULLOPMONFACILITY_HPP_
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
#define ERS_EMPTY
#define ERS_HERE
void publish(opmon::OpMonEntry &&e) const override
std::string to_string(const dunedaq::opmon::OpMonId &)
Definition Utils.cpp:167
Including Qt Headers.