Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
art::ProducingService Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Core/ProducingService.h"

Inheritance diagram for art::ProducingService:
art::ProductRegistryHelper

Public Member Functions

virtual ~ProducingService () noexcept
 
void setModuleDescription (ModuleDescription const &md)
 
void registerCallbacks (ProducingServiceSignals &)
 

Static Public Attributes

static constexpr bool service_handle_allowed {false}
 

Private Member Functions

void doPostReadRun (RunPrincipal &rp)
 
void doPostReadSubRun (SubRunPrincipal &srp)
 
void doPostReadEvent (EventPrincipal &ep)
 
virtual void postReadRun (Run &r)
 
virtual void postReadSubRun (SubRun &sr)
 
virtual void postReadEvent (Event &e)
 
void productList (ProductList *p)
 
void registerProducts (MasterProductRegistry &mpr, ProductDescriptions &productsToRegister, ModuleDescription const &md)
 
template<typename P , BranchType B = InEvent>
void produces (std::string const &instanceName={}, Persistable const persistable=Persistable::Yes)
 
template<typename P , BranchType B>
TypeLabel const & reconstitutes (std::string const &modLabel, std::string const &instanceName={})
 
template<typename P , art::BranchType B>
art::TypeLabel const & reconstitutes (std::string const &emulatedModule, std::string const &instanceName)
 
template<BranchType B>
std::set< TypeLabel > const & expectedProducts () const
 

Private Attributes

ModuleDescription md_
 

Detailed Description

Definition at line 14 of file ProducingService.h.

Constructor & Destructor Documentation

virtual art::ProducingService::~ProducingService ( )
virtualnoexcept

Member Function Documentation

void art::ProducingService::doPostReadEvent ( EventPrincipal ep)
private
void art::ProducingService::doPostReadRun ( RunPrincipal rp)
private
void art::ProducingService::doPostReadSubRun ( SubRunPrincipal srp)
private
template<BranchType B>
std::set<TypeLabel> const& art::ProductRegistryHelper::expectedProducts ( ) const
inlineinherited

Definition at line 111 of file ProductRegistryHelper.h.

References art::ProductRegistryHelper::typeLabelList_.

112  {
113  return typeLabelList_[B];
114  }
std::array< std::set< TypeLabel >, NumBranchTypes > typeLabelList_
virtual void art::ProducingService::postReadEvent ( Event e)
privatevirtual
virtual void art::ProducingService::postReadRun ( Run r)
privatevirtual
virtual void art::ProducingService::postReadSubRun ( SubRun sr)
privatevirtual
template<typename P , art::BranchType B>
void art::ProductRegistryHelper::produces ( std::string const &  instanceName = {},
Persistable const  persistable = Persistable::Yes 
)
inlineinherited

Definition at line 141 of file ProductRegistryHelper.h.

References art::ProductRegistryHelper::insertOrThrow(), art::No, P, art::detail::verifyFriendlyClassName(), and art::detail::verifyInstanceName().

Referenced by caf::CAFMaker::CAFMaker(), art::MixHelper::produces(), and art::ProductRegistryHelper::productList().

143 {
144  verifyInstanceName(instanceName);
145  TypeID const productType{typeid(P)};
146  verifyFriendlyClassName(productType.friendlyClassName());
147  bool const isTransient = (persistable == Persistable::No);
149  B,
150  TypeLabel{productType, instanceName, SupportsView<P>::value, isTransient});
151 }
void verifyFriendlyClassName(std::string const &fcn)
#define P(a, b, c, d, e, x)
const XML_Char int const XML_Char * value
Definition: expat.h:331
TypeLabel const & insertOrThrow(BranchType const bt, TypeLabel const &tl)
void verifyInstanceName(std::string const &in)
void art::ProductRegistryHelper::productList ( ProductList p)
inlineinherited
template<typename P , BranchType B>
TypeLabel const& art::ProductRegistryHelper::reconstitutes ( std::string const &  modLabel,
std::string const &  instanceName = {} 
)
inherited
template<typename P , art::BranchType B>
art::TypeLabel const& art::ProductRegistryHelper::reconstitutes ( std::string const &  emulatedModule,
std::string const &  instanceName 
)
inherited

Definition at line 155 of file ProductRegistryHelper.h.

References art::ProductRegistryHelper::insertOrThrow(), P, art::detail::verifyFriendlyClassName(), and art::detail::verifyInstanceName().

157 {
158  verifyModuleLabel(emulatedModule);
159  verifyInstanceName(instanceName);
160  TypeID const productType{typeid(P)};
161  verifyFriendlyClassName(productType.friendlyClassName());
162  return insertOrThrow(
163  B,
164  TypeLabel{
165  productType, instanceName, SupportsView<P>::value, emulatedModule});
166 }
void verifyFriendlyClassName(std::string const &fcn)
#define P(a, b, c, d, e, x)
const XML_Char int const XML_Char * value
Definition: expat.h:331
TypeLabel const & insertOrThrow(BranchType const bt, TypeLabel const &tl)
void verifyInstanceName(std::string const &in)
void art::ProducingService::registerCallbacks ( ProducingServiceSignals )
void art::ProductRegistryHelper::registerProducts ( MasterProductRegistry mpr,
ProductDescriptions productsToRegister,
ModuleDescription const &  md 
)
inherited
void art::ProducingService::setModuleDescription ( ModuleDescription const &  md)

Member Data Documentation

ModuleDescription art::ProducingService::md_
private

Definition at line 36 of file ProducingService.h.

constexpr bool art::ProducingService::service_handle_allowed {false}
static

Definition at line 16 of file ProducingService.h.


The documentation for this class was generated from the following file: