DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::opmonlib::TestOpMonManager Class Reference

#include <TestOpMonManager.hpp>

Inheritance diagram for dunedaq::opmonlib::TestOpMonManager:
[legend]
Collaboration diagram for dunedaq::opmonlib::TestOpMonManager:
[legend]

Public Member Functions

 TestOpMonManager (std::string session="NULL", std::string name="tree")
virtual ~TestOpMonManager ()=default
auto get_backend_facility ()
Public Member Functions inherited from dunedaq::opmonlib::OpMonManager
 OpMonManager (std::string session, std::string name, std::string opmon_facility_uri="stdout")
virtual ~OpMonManager ()=default
void start_monitoring ()
void set_opmon_conf (const confmodel::OpMonConf *c)
auto get_opmon_id () const noexcept
auto get_opmon_level () const noexcept
void register_node (ElementId name, NewNodePtr)

Additional Inherited Members

Protected Types inherited from dunedaq::opmonlib::MonitorableObject
using NodePtr = std::weak_ptr<MonitorableObject>
using NewNodePtr = std::shared_ptr<MonitorableObject>
using ElementId = std::string
Protected Member Functions inherited from dunedaq::opmonlib::OpMonManager
auto get_opmon_facility () const
 OpMonManager (std::string session, std::string name, facility_ptr_t)
void run (std::stop_token)
Protected Member Functions inherited from dunedaq::opmonlib::MonitorableObject
 MonitorableObject ()=default
void register_node (ElementId name, NewNodePtr)
void publish (google::protobuf::Message &&, CustomOrigin &&co={}, OpMonLevel l=to_level(EntryOpMonLevel::kDefault)) const noexcept
virtual void generate_opmon_data ()
 MonitorableObject (const MonitorableObject &)=delete
MonitorableObjectoperator= (const MonitorableObject &)=delete
 MonitorableObject (MonitorableObject &&)=delete
MonitorableObjectoperator= (MonitorableObject &&)=delete
virtual ~MonitorableObject ()=default
auto get_opmon_id () const noexcept
auto get_opmon_level () const noexcept
Static Protected Member Functions inherited from dunedaq::opmonlib::MonitorableObject
static bool publishable_metric (OpMonLevel entry, OpMonLevel system) noexcept

Detailed Description

Definition at line 28 of file TestOpMonManager.hpp.

Constructor & Destructor Documentation

◆ TestOpMonManager()

dunedaq::opmonlib::TestOpMonManager::TestOpMonManager ( std::string session = "NULL",
std::string name = "tree" )
inlineexplicit

Definition at line 32 of file TestOpMonManager.hpp.

34 : OpMonManager(session, name, std::make_shared<BackendOpMonFacility>()) {;}

◆ ~TestOpMonManager()

virtual dunedaq::opmonlib::TestOpMonManager::~TestOpMonManager ( )
virtualdefault

Member Function Documentation

◆ get_backend_facility()

auto dunedaq::opmonlib::TestOpMonManager::get_backend_facility ( )
inline

Definition at line 38 of file TestOpMonManager.hpp.

38 {
39 return std::dynamic_pointer_cast<BackendOpMonFacility>(get_opmon_facility());
40 }

The documentation for this class was generated from the following file: