Go to the documentation of this file. 1 #ifndef art_Framework_Services_Registry_ServiceDeclarationMacros_h 2 #define art_Framework_Services_Registry_ServiceDeclarationMacros_h 77 #define DECLARE_ART_SERVICE(svc, scope) ART_DETAIL_DECLARE_SERVICE(svc, scope) 80 #define DECLARE_ART_SERVICE_INTERFACE(svc, scope) \ 82 art::detail::handle_allowed_v<svc>, \ 83 "\n\nart-error: You cannot create a service interface for type " \ 84 "'" ART_DETAIL_STRINGIZED_TYPE(svc) "'.\n" \ 85 " There is a base class of " \ 86 "this type for which a ServiceHandle " \ 88 " be constructed. Please " \ 89 "contact artists@fnal.gov for " \ 91 ART_DETAIL_DECLARE_SERVICE_INTERFACE(svc, scope) 94 #define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope) \ 96 art::detail::handle_allowed_v<svc>, \ 97 "\n\nart-error: You cannot create a service implementation for type " \ 98 "'" ART_DETAIL_STRINGIZED_TYPE(svc) "'.\n" \ 99 " There is a base class of " \ 100 "this type for which a ServiceHandle " \ 102 " be constructed. Please " \ 103 "contact artists@fnal.gov for " \ 105 ART_DETAIL_DECLARE_SERVICE_INTERFACE_IMPL(svc, iface, scope)