DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Static Public Member Functions | List of all members
dd4hep::PluginRegistry< DD4HEP_SIGNATURE > Class Template Reference

Factory template for the plugin mechanism. More...

#include <Plugins.h>

Public Types

typedef PluginService svc_t
 
typedef DD4HEP_SIGNATURE signature_t
 

Static Public Member Functions

template<typename R , typename... Args>
static void add (const std::string &id, R(*func)(Args...))
 

Detailed Description

template<typename DD4HEP_SIGNATURE>
class dd4hep::PluginRegistry< DD4HEP_SIGNATURE >

Factory template for the plugin mechanism.

Definition at line 130 of file Plugins.h.

Member Typedef Documentation

◆ signature_t

template<typename DD4HEP_SIGNATURE >
typedef DD4HEP_SIGNATURE dd4hep::PluginRegistry< DD4HEP_SIGNATURE >::signature_t

Definition at line 133 of file Plugins.h.

◆ svc_t

template<typename DD4HEP_SIGNATURE >
typedef PluginService dd4hep::PluginRegistry< DD4HEP_SIGNATURE >::svc_t

Definition at line 132 of file Plugins.h.

Member Function Documentation

◆ add()

template<typename DD4HEP_SIGNATURE >
template<typename R , typename... Args>
static void dd4hep::PluginRegistry< DD4HEP_SIGNATURE >::add ( const std::string &  id,
R(*)(Args...)  func 
)
inlinestatic

Definition at line 134 of file Plugins.h.


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