DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Static Public Member Functions | List of all members
Gaudi::PluginService::v1::Factory< R, Args > Class Template Reference

Class wrapping the signature for a factory with any number of arguments. More...

#include <PluginServiceV1.h>

Public Types

typedef R ReturnType
 
typedef R(* FuncType) (Args &&...)
 

Static Public Member Functions

static ReturnType create (const std::string &id, Args... args)
 
template<typename T >
static ReturnType create (const T &id, Args... args)
 

Detailed Description

template<typename R, typename... Args>
class Gaudi::PluginService::v1::Factory< R, Args >

Class wrapping the signature for a factory with any number of arguments.

Definition at line 55 of file PluginServiceV1.h.

Member Typedef Documentation

◆ FuncType

template<typename R , typename... Args>
typedef R( * Gaudi::PluginService::v1::Factory< R, Args >::FuncType) (Args &&...)

Definition at line 58 of file PluginServiceV1.h.

◆ ReturnType

template<typename R , typename... Args>
typedef R Gaudi::PluginService::v1::Factory< R, Args >::ReturnType

Definition at line 57 of file PluginServiceV1.h.

Member Function Documentation

◆ create() [1/2]

template<typename R , typename... Args>
static ReturnType Gaudi::PluginService::v1::Factory< R, Args >::create ( const std::string &  id,
Args...  args 
)
inlinestatic

Definition at line 60 of file PluginServiceV1.h.

◆ create() [2/2]

template<typename R , typename... Args>
template<typename T >
static ReturnType Gaudi::PluginService::v1::Factory< R, Args >::create ( const T &  id,
Args...  args 
)
inlinestatic

Definition at line 66 of file PluginServiceV1.h.


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