LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ServiceDeclarationMacros.h File Reference

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_INTERFACE (   svc,
  scope 
)
Value:
static_assert( \
art::detail::handle_allowed_v<svc>, \
"\n\nart-error: You cannot create a service interface for type " \
"'" ART_DETAIL_STRINGIZED_TYPE(svc) "'.\n" \
" There is a base class of " \
"this type for which a ServiceHandle " \
"cannot\n" \
" be constructed. Please " \
"contact artists@fnal.gov for " \
"guidance.\n"); \
#define ART_DETAIL_DECLARE_SERVICE_INTERFACE(iface, scopeArg)
#define ART_DETAIL_STRINGIZED_TYPE(svc)

Definition at line 80 of file ServiceDeclarationMacros.h.

Referenced by geo::AuxDetExptGeoHelperInterface::ConfigureAuxDetChannelMapAlg(), geo::ExptGeoHelperInterface::ConfigureChannelMapAlg(), detinfo::DetectorPropertiesService::DataFor(), art::CatalogInterface::rewind(), art::FileTransfer::translateToLocalFilename(), and opdet::OpDetResponseInterface::wavelength().

#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 " \
"'" ART_DETAIL_STRINGIZED_TYPE(svc) "'.\n" \
" There is a base class of " \
"this type for which a ServiceHandle " \
"cannot\n" \
" be constructed. Please " \
"contact artists@fnal.gov for " \
"guidance.\n"); \
#define ART_DETAIL_DECLARE_SERVICE_INTERFACE_IMPL(svc, iface, scopeArg)
#define ART_DETAIL_STRINGIZED_TYPE(svc)

Definition at line 94 of file ServiceDeclarationMacros.h.

Referenced by art::TrivialFileTransfer::doTranslateToLocalFilename(), and art::TrivialFileDelivery::prependFileDesignation().