LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ServiceMacros.h File Reference

Go to the source code of this file.

Macros

#define DECLARE_ART_SERVICE(svc, scope)   DECLARE_ART_SERVICE_DETAIL(svc, scope)
 
#define DEFINE_ART_SERVICE(svc)
 
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
 
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)
 
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)
 
#define DECLARE_ART_SYSTEM_SERVICE(svc, scope)    DECLARE_ART_SYSTEM_SERVICE_DETAIL(svc, 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_STRINGIZED_TYPE(svc)
Definition: helper_macros.h:22
#define DECLARE_ART_SERVICE_INTERFACE_DETAIL(iface, scopeArg)

Definition at line 99 of file ServiceMacros.h.

Referenced by geo::AuxDetExptGeoHelperInterface::GetAuxDetChannelMapAlg(), geo::ExptGeoHelperInterface::GetChannelMapAlg(), 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_STRINGIZED_TYPE(svc)
Definition: helper_macros.h:22
#define DECLARE_ART_SERVICE_INTERFACE_IMPL_DETAIL(svc, iface, scopeArg)

Definition at line 113 of file ServiceMacros.h.

Referenced by lar::example::ShowerCalibrationGaloreScaleService::do_provider().

#define DECLARE_ART_SYSTEM_SERVICE (   svc,
  scope 
)    DECLARE_ART_SYSTEM_SERVICE_DETAIL(svc, scope)
#define DEFINE_ART_SERVICE (   svc)
Value:
CET_PROVIDE_FILE_PATH() \
#define FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass)
#define DEFINE_ART_SH_CREATE(svc)

Definition at line 93 of file ServiceMacros.h.

Referenced by art::FileCatalogMetadata::addMetadata(), sim::LArVoxelCalculator::BinToAxis(), evd::ColorDrawingOptions::CalT(), nutools::dbi::DBIService::CreateTable(), util::FileCatalogMetadataExtras::expandTemplate(), evd::InfoTransfer::FillStartEndHitCoords(), opdet::OpDigiProperties::GenAnalyticalWF(), cheat::ParticleInventoryService::GetSetOfEveIds(), phot::PhotonVisibilityService::LibLocation(), geo::AuxDetGeometry::LoadNewGeometry(), geo::Geometry::LoadNewGeometry(), art::TimeTracker::logToDestination_(), art::MemoryAdjuster::MemoryAdjuster(), art::MemoryTracker::MemoryTracker(), cheat::PhotonBackTrackerService::OpFlashToXYZ(), cheat::PhotonBackTracker::OpHitToXYZ(), rndm::NuRandomService::postEndJob(), art::Tracer::postModuleEndJob(), evdb::EventDisplay::postProcessEvent(), evd::AnalysisDrawingOptions::reconfigure(), evd::SimulationDrawingOptions::reconfigure(), evd::EvdLayoutOptions::reconfigure(), evd::RecoDrawingOptions::reconfigure(), sim::LArG4Parameters::reconfigure(), evd::RawDrawingOptions::reconfigure(), art::TFileService::requestsToCloseFile_(), evd::LandedSocket::sendVertex(), evdb::Colors::SetStyle(), util::LArFFT::ShiftData(), cheat::BackTrackerService::SpacePointToXYZ(), util::DatabaseUtil::split(), art::MemoryTracker::summary_(), mag::MagneticField::UniformFieldInVolume(), and evdb::ScanOptions::~ScanOptions().