1 #ifndef art_Framework_Services_Registry_ServiceHandle_h 2 #define art_Framework_Services_Registry_ServiceHandle_h 32 #include <type_traits> 45 template <typename T, art::ServiceScope SCOPE>
49 detail::handle_allowed_v<T>,
50 "\n\nart-error: You cannot create a ServiceHandle for this type.\n" 51 " Please contact artists@fnal.gov for guidance.\n");
61 <<
"Unable to create ServiceHandle.\n" 62 <<
"Perhaps the FHiCL configuration does not specify the necessary " 64 <<
"The class of the service is noted below...\n" 85 detail::handle_allowed_v<T>,
86 "\n\nart-error: You cannot create a ServiceHandle for this type.\n" 87 " Please contact artists@fnal.gov for guidance.\n");
97 <<
"Unable to create ServiceHandle.\n" 98 <<
"Perhaps the FHiCL configuration does not specify the necessary " 100 <<
"The class of the service is noted below...\n"
static ServiceRegistry & instance()
ServiceHandle(ScheduleID const sID)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception