CMS 3D CMS Logo

List of all members | Public Member Functions
edm::serviceregistry::NoArgsMaker< T, TConcrete > Struct Template Reference

#include <ServiceMaker.h>

Inheritance diagram for edm::serviceregistry::NoArgsMaker< T, TConcrete >:
edm::serviceregistry::MakerBase< T, TConcrete >

Public Member Functions

std::unique_ptr< Tmake (ParameterSet const &, ActivityRegistry &) const
 

Additional Inherited Members

- Public Types inherited from edm::serviceregistry::MakerBase< T, TConcrete >
typedef TConcrete concrete_t
 
typedef T interface_t
 

Detailed Description

template<typename T, typename TConcrete = T>
struct edm::serviceregistry::NoArgsMaker< T, TConcrete >

Definition at line 61 of file ServiceMaker.h.

Member Function Documentation

template<typename T , typename TConcrete = T>
std::unique_ptr<T> edm::serviceregistry::NoArgsMaker< T, TConcrete >::make ( ParameterSet const &  ,
ActivityRegistry  
) const
inline

Definition at line 62 of file ServiceMaker.h.

62  {
63  return std::make_unique<TConcrete>();
64  }