#include <ServiceCacheEntry.h>
Public Member Functions | |
ServiceCacheEntry (fhicl::ParameterSet const &pset, std::unique_ptr< ServiceHelperBase > &&helper) | |
ServiceCacheEntry (fhicl::ParameterSet const &pset, std::unique_ptr< ServiceHelperBase > &&helper, ServiceCacheEntry const &impl) | |
ServiceCacheEntry (std::shared_ptr< ServiceWrapperBase > premade_service, std::unique_ptr< ServiceHelperBase > &&helper) | |
std::shared_ptr< ServiceWrapperBase > | getService (ActivityRegistry ®, SharedResources &resources, ServiceStack &creationOrder) const |
void | forceCreation (ActivityRegistry ®, SharedResources &resources) const |
fhicl::ParameterSet const & | getParameterSet () const |
template<typename T > | |
T & | get (ActivityRegistry ®, SharedResources &resources, ServiceStack &creationOrder) const |
void | registerProducts (ProductDescriptions &productsToProduce, ProducingServiceSignals &signals, ModuleDescription const &md) |
bool | is_impl () const |
bool | is_interface () const |
ServiceScope | serviceScope () const |
Private Member Functions | |
std::shared_ptr< ServiceWrapperBase > | makeService (ActivityRegistry ®, SharedResources &resources) const |
void | createService (ActivityRegistry ®, SharedResources &resources, ServiceStack &creationOrder) const |
std::shared_ptr< ServiceWrapperBase > | convertService () const |
Private Attributes | |
fhicl::ParameterSet | config_ {} |
std::unique_ptr< ServiceHelperBase > | helper_ |
std::shared_ptr< ServiceWrapperBase > | service_ {} |
cet::exempt_ptr< ServiceCacheEntry const > const | interface_impl_ {nullptr} |
Definition at line 24 of file ServiceCacheEntry.h.
art::detail::ServiceCacheEntry::ServiceCacheEntry | ( | fhicl::ParameterSet const & | pset, |
std::unique_ptr< ServiceHelperBase > && | helper | ||
) |
Definition at line 22 of file ServiceCacheEntry.cc.
art::detail::ServiceCacheEntry::ServiceCacheEntry | ( | fhicl::ParameterSet const & | pset, |
std::unique_ptr< ServiceHelperBase > && | helper, | ||
ServiceCacheEntry const & | impl | ||
) |
Definition at line 28 of file ServiceCacheEntry.cc.
art::detail::ServiceCacheEntry::ServiceCacheEntry | ( | std::shared_ptr< ServiceWrapperBase > | premade_service, |
std::unique_ptr< ServiceHelperBase > && | helper | ||
) |
Definition at line 37 of file ServiceCacheEntry.cc.
|
private |
Definition at line 154 of file ServiceCacheEntry.cc.
|
private |
Definition at line 141 of file ServiceCacheEntry.cc.
void art::detail::ServiceCacheEntry::forceCreation | ( | ActivityRegistry & | reg, |
SharedResources & | resources | ||
) | const |
Definition at line 116 of file ServiceCacheEntry.cc.
T & art::detail::ServiceCacheEntry::get | ( | ActivityRegistry & | reg, |
SharedResources & | resources, | ||
ServiceStack & | creationOrder | ||
) | const |
Definition at line 77 of file ServiceCacheEntry.h.
fhicl::ParameterSet const & art::detail::ServiceCacheEntry::getParameterSet | ( | ) | const |
Definition at line 135 of file ServiceCacheEntry.cc.
std::shared_ptr< ServiceWrapperBase > art::detail::ServiceCacheEntry::getService | ( | ActivityRegistry & | reg, |
SharedResources & | resources, | ||
ServiceStack & | creationOrder | ||
) | const |
Definition at line 44 of file ServiceCacheEntry.cc.
bool art::detail::ServiceCacheEntry::is_impl | ( | ) | const |
Definition at line 175 of file ServiceCacheEntry.cc.
bool art::detail::ServiceCacheEntry::is_interface | ( | ) | const |
Definition at line 169 of file ServiceCacheEntry.cc.
|
private |
Definition at line 69 of file ServiceCacheEntry.cc.
void art::detail::ServiceCacheEntry::registerProducts | ( | ProductDescriptions & | productsToProduce, |
ProducingServiceSignals & | signals, | ||
ModuleDescription const & | md | ||
) |
Definition at line 127 of file ServiceCacheEntry.cc.
ServiceScope art::detail::ServiceCacheEntry::serviceScope | ( | ) | const |
Definition at line 163 of file ServiceCacheEntry.cc.
|
private |
Definition at line 69 of file ServiceCacheEntry.h.
|
private |
Definition at line 70 of file ServiceCacheEntry.h.
|
private |
Definition at line 72 of file ServiceCacheEntry.h.
|
mutableprivate |
Definition at line 71 of file ServiceCacheEntry.h.