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

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Principal/DeferredProductGetter.h"

Inheritance diagram for art::DeferredProductGetter:
art::EDProductGetter

Public Member Functions

 DeferredProductGetter (cet::exempt_ptr< Principal const > groupFinder, ProductID pid)
 
bool isReady () const override
 
EDProduct const * getIt () const override
 
EDProduct const * anyProduct () const override
 
EDProduct const * uniqueProduct () const override
 
EDProduct const * uniqueProduct (TypeID const &) const override
 
bool resolveProduct (TypeID const &) const override
 
bool resolveProductIfAvailable (TypeID const &) const override
 

Private Member Functions

cet::exempt_ptr< EDProductGetter const > resolveGetter_ () const
 
cet::exempt_ptr< EDProductGetter const > maybeResolveGetter_ () const
 

Private Attributes

cet::exempt_ptr< Principal const > groupFinder_
 
ProductID const pid_
 
cet::exempt_ptr< EDProductGetter const > realGetter_
 

Detailed Description

Definition at line 10 of file DeferredProductGetter.h.

Constructor & Destructor Documentation

art::DeferredProductGetter::DeferredProductGetter ( cet::exempt_ptr< Principal const >  groupFinder,
ProductID  pid 
)

Member Function Documentation

EDProduct const* art::DeferredProductGetter::anyProduct ( ) const
overridevirtual

Implements art::EDProductGetter.

EDProduct const* art::DeferredProductGetter::getIt ( ) const
overridevirtual

Implements art::EDProductGetter.

bool art::DeferredProductGetter::isReady ( ) const
inlineoverridevirtual

Implements art::EDProductGetter.

Definition at line 33 of file DeferredProductGetter.h.

References maybeResolveGetter_(), and realGetter_.

34 {
35  return (maybeResolveGetter_() != nullptr) && realGetter_->isReady();
36 }
cet::exempt_ptr< EDProductGetter const > maybeResolveGetter_() const
cet::exempt_ptr< EDProductGetter const > realGetter_
cet::exempt_ptr<EDProductGetter const> art::DeferredProductGetter::maybeResolveGetter_ ( ) const
private

Referenced by isReady().

cet::exempt_ptr<EDProductGetter const> art::DeferredProductGetter::resolveGetter_ ( ) const
private
bool art::DeferredProductGetter::resolveProduct ( TypeID const &  ) const
overridevirtual

Implements art::EDProductGetter.

bool art::DeferredProductGetter::resolveProductIfAvailable ( TypeID const &  ) const
overridevirtual

Implements art::EDProductGetter.

EDProduct const* art::DeferredProductGetter::uniqueProduct ( ) const
overridevirtual

Implements art::EDProductGetter.

EDProduct const* art::DeferredProductGetter::uniqueProduct ( TypeID const &  ) const
overridevirtual

Implements art::EDProductGetter.

Member Data Documentation

cet::exempt_ptr<Principal const> art::DeferredProductGetter::groupFinder_
private

Definition at line 27 of file DeferredProductGetter.h.

ProductID const art::DeferredProductGetter::pid_
private

Definition at line 28 of file DeferredProductGetter.h.

cet::exempt_ptr<EDProductGetter const> art::DeferredProductGetter::realGetter_
mutableprivate

Definition at line 29 of file DeferredProductGetter.h.

Referenced by isReady().


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