DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::PluginDebug Struct Reference

Helper to debug plugin manager calls. More...

#include <Plugins.h>

Public Member Functions

 PluginDebug (int dbg=2) noexcept(false)
 Default constructor. More...
 
 ~PluginDebug () noexcept(false)
 Default destructor. More...
 
std::string missingFactory (const std::string &name) const
 Helper to check factory existence. More...
 

Public Attributes

int m_debug
 

Detailed Description

Helper to debug plugin manager calls.

Small helper class to adjust the plugin service debug level for a limited code scope. Automatically back-adjusts the debug level at object destruction.

Author
M.Frank
Version
1.0

Definition at line 74 of file Plugins.h.

Constructor & Destructor Documentation

◆ PluginDebug()

PluginDebug::PluginDebug ( int  dbg = 2)
noexcept

Default constructor.

Definition at line 137 of file Plugins.cpp.

◆ ~PluginDebug()

PluginDebug::~PluginDebug ( )
noexcept

Default destructor.

Definition at line 142 of file Plugins.cpp.

Member Function Documentation

◆ missingFactory()

std::string PluginDebug::missingFactory ( const std::string &  name) const

Helper to check factory existence.

Definition at line 147 of file Plugins.cpp.

Member Data Documentation

◆ m_debug

int dd4hep::PluginDebug::m_debug

Definition at line 75 of file Plugins.h.


The documentation for this struct was generated from the following files: