#include <BackendOpMonFacility.hpp>
Definition at line 13 of file BackendOpMonFacility.hpp.
◆ data_t
◆ entry_t
◆ BackendOpMonFacility()
dunedaq::opmonlib::BackendOpMonFacility::BackendOpMonFacility |
( |
| ) |
|
|
inline |
◆ get_entries()
Definition at line 14 of file BackendOpMonFacility.cpp.
14 {
15
16 std::unique_lock<std::mutex> lk(
m_mutex);
19 lk.unlock();
20
21 std::smatch values;
22 auto it =
ret.begin();
23 while ( it !=
ret.end() ) {
24 if ( ! std::regex_match( it->measurement(), values, measurement_filter) ) {
26 } else {
27 ++it;
28 }
29 }
30
32}
std::list< entry_t > data_t
◆ publish()
void BackendOpMonFacility::publish |
( |
entry_t && | | ) |
const |
|
overridevirtual |
The implmentations of this functions need to be thread safe. It is a requirement to implement this function asyncronously. This function can throw, but it is guaranteed to throw an OpMonPublishFailure
Implements dunedaq::opmonlib::OpMonFacility.
Definition at line 6 of file BackendOpMonFacility.cpp.
6 {
7
8 std::lock_guard<std::mutex> lk(
m_mutex);
10
11}
◆ m_list
data_t dunedaq::opmonlib::BackendOpMonFacility::m_list |
|
mutableprivate |
◆ m_mutex
std::mutex dunedaq::opmonlib::BackendOpMonFacility::m_mutex |
|
mutableprivate |
The documentation for this class was generated from the following files: