Macros
definition_helper_macros.h File Reference
#include "art/Framework/Services/Registry/detail/ServiceHelper.h"
#include <memory>

Go to the source code of this file.

Macros

#define DEFINE_ART_SH_CREATE(svc)   DEFINE_ART_SH_CREATE_DETAIL(svc, service)
 
#define DEFINE_ART_SIH_CREATE(svc)   DEFINE_ART_SH_CREATE_DETAIL(svc, iface)
 
#define DEFINE_ART_SH_CREATE_DETAIL(svc, type)
 

Macro Definition Documentation

#define DEFINE_ART_SH_CREATE (   svc)    DEFINE_ART_SH_CREATE_DETAIL(svc, service)

Definition at line 10 of file definition_helper_macros.h.

#define DEFINE_ART_SH_CREATE_DETAIL (   svc,
  type 
)
Value:
EXTERN_C_FUNC_DECLARE_START \
std::unique_ptr<art::detail::ServiceHelperBase> create_##type##_helper() \
{ \
return std::make_unique<art::detail::ServiceHelper<svc>>(); \
} \
EXTERN_C_FUNC_DECLARE_END

Definition at line 14 of file definition_helper_macros.h.

#define DEFINE_ART_SIH_CREATE (   svc)    DEFINE_ART_SH_CREATE_DETAIL(svc, iface)

Definition at line 12 of file definition_helper_macros.h.