CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 62 of file ServiceMaker.h.

Member Function Documentation

◆ make()

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

Definition at line 63 of file ServiceMaker.h.

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