Macros
ServiceDeclarationMacros.h File Reference
#include "art/Framework/Services/Registry/detail/ServiceHandleAllowed.h"
#include "art/Framework/Services/Registry/detail/declaration_helper_macros.h"
#include "art/Framework/Services/Registry/ServiceTable.h"

Go to the source code of this file.

Macros

#define DECLARE_ART_SERVICE(svc, scope)   ART_DETAIL_DECLARE_SERVICE(svc, scope)
 
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
 
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)
 

Macro Definition Documentation

#define DECLARE_ART_SERVICE (   svc,
  scope 
)    ART_DETAIL_DECLARE_SERVICE(svc, scope)

Definition at line 77 of file ServiceDeclarationMacros.h.

#define DECLARE_ART_SERVICE_INTERFACE (   svc,
  scope 
)
Value:
static_assert( \
art::detail::handle_allowed_v<svc>, \
"\n\nart-error: You cannot create a service interface for type " \
" There is a base class of " \
"this type for which a ServiceHandle " \
"cannot\n" \
" be constructed. Please " \
"contact artists@fnal.gov for " \
"guidance.\n"); \
static QCString scope
Definition: declinfo.cpp:668
#define ART_DETAIL_DECLARE_SERVICE_INTERFACE(iface, scopeArg)
#define ART_DETAIL_STRINGIZED_TYPE(svc)

Definition at line 80 of file ServiceDeclarationMacros.h.

#define DECLARE_ART_SERVICE_INTERFACE_IMPL (   svc,
  iface,
  scope 
)
Value:
static_assert( \
art::detail::handle_allowed_v<svc>, \
"\n\nart-error: You cannot create a service implementation for type " \
" There is a base class of " \
"this type for which a ServiceHandle " \
"cannot\n" \
" be constructed. Please " \
"contact artists@fnal.gov for " \
"guidance.\n"); \
static QCString scope
Definition: declinfo.cpp:668
#define ART_DETAIL_DECLARE_SERVICE_INTERFACE_IMPL(svc, iface, scopeArg)
#define ART_DETAIL_STRINGIZED_TYPE(svc)

Definition at line 94 of file ServiceDeclarationMacros.h.