The Gaudi Framework  master (37c0b60a)
RenounceToolInputsVisitor::Logger Class Referencefinal

#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/RenounceToolInputsVisitor.h>

Inheritance diagram for RenounceToolInputsVisitor::Logger:
Collaboration diagram for RenounceToolInputsVisitor::Logger:

Public Member Functions

template<typename F , typename = std::enable_if_t<std::is_invocable_r_v<void, F, std::string_view, std::string_view>>>
 Logger (F func)
 
void renounce (std::string_view tool_name, std::string_view key) override
 
- Public Member Functions inherited from RenounceToolInputsVisitor::ILogger
virtual ~ILogger ()=default
 

Private Attributes

std::function< void(std::string_view, std::string_view)> m_func
 

Detailed Description

Definition at line 42 of file RenounceToolInputsVisitor.h.

Constructor & Destructor Documentation

◆ Logger()

template<typename F , typename = std::enable_if_t<std::is_invocable_r_v<void, F, std::string_view, std::string_view>>>
RenounceToolInputsVisitor::Logger::Logger ( func)
inline

Definition at line 48 of file RenounceToolInputsVisitor.h.

48 : m_func( std::move( func ) ) {}

Member Function Documentation

◆ renounce()

void RenounceToolInputsVisitor::Logger::renounce ( std::string_view  tool_name,
std::string_view  key 
)
inlineoverridevirtual

Implements RenounceToolInputsVisitor::ILogger.

Definition at line 49 of file RenounceToolInputsVisitor.h.

49 { m_func( tool_name, key ); }

Member Data Documentation

◆ m_func

std::function<void( std::string_view, std::string_view )> RenounceToolInputsVisitor::Logger::m_func
private

Definition at line 43 of file RenounceToolInputsVisitor.h.


The documentation for this class was generated from the following file:
std::move
T move(T... args)
cpluginsvc.func
func
Definition: cpluginsvc.py:235
RenounceToolInputsVisitor::Logger::m_func
std::function< void(std::string_view, std::string_view)> m_func
Definition: RenounceToolInputsVisitor.h:43
ProduceConsume.key
key
Definition: ProduceConsume.py:84