CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Member Functions
edm::eventsetup::ESSourceConcurrentDataProxyTemplate< DataT > Class Template Referenceabstract

#include <ESSourceConcurrentDataProxyTemplate.h>

Inheritance diagram for edm::eventsetup::ESSourceConcurrentDataProxyTemplate< DataT >:
edm::eventsetup::ESSourceDataProxyConcurrentBase edm::eventsetup::ESSourceDataProxyBase edm::eventsetup::DataProxy

Public Member Functions

 ESSourceConcurrentDataProxyTemplate ()=default
 
 ESSourceConcurrentDataProxyTemplate (const ESSourceConcurrentDataProxyTemplate &)=delete
 
const ESSourceConcurrentDataProxyTemplateoperator= (const ESSourceConcurrentDataProxyTemplate &)=delete
 
- Public Member Functions inherited from edm::eventsetup::ESSourceDataProxyConcurrentBase
 ESSourceDataProxyConcurrentBase ()
 
- Public Member Functions inherited from edm::eventsetup::ESSourceDataProxyBase
 ESSourceDataProxyBase ()
 
- Public Member Functions inherited from edm::eventsetup::DataProxy
bool cacheIsValid () const
 
 DataProxy ()
 
 DataProxy (DataProxy const &)=delete
 
void const * get (EventSetupRecordImpl const &, DataKey const &, bool iTransiently, ActivityRegistry const *, EventSetupImpl const *, ESParentContext const &) const
 
void const * getAfterPrefetch (const EventSetupRecordImpl &iRecord, const DataKey &iKey, bool iTransiently) const
 
virtual void initializeForNewIOV ()
 
void invalidate ()
 
DataProxy const & operator= (DataProxy const &)=delete
 
void prefetchAsync (WaitingTaskHolder, EventSetupRecordImpl const &, DataKey const &, EventSetupImpl const *, ServiceToken const &, ESParentContext const &) const
 
ComponentDescription const * providerDescription () const
 returns the description of the DataProxyProvider which owns this Proxy More...
 
void resetIfTransient ()
 
void setProviderDescription (ComponentDescription const *iDesc)
 
virtual ~DataProxy ()
 

Protected Member Functions

virtual DataT const * fetch () const =0
 
- Protected Member Functions inherited from edm::eventsetup::ESSourceDataProxyBase
void invalidateCache () override
 
void invalidateTransientCache () override
 
virtual void prefetch (edm::eventsetup::DataKey const &iKey, EventSetupRecordDetails)=0
 
template<typename ASYNC , typename GUARD >
void prefetchAsyncImplTemplate (ASYNC iAsync, GUARD iGuardFactory, edm::WaitingTaskHolder iTask, edm::eventsetup::EventSetupRecordImpl const &iRecord, edm::eventsetup::DataKey const &iKey, edm::ESParentContext const &iContext)
 
- Protected Member Functions inherited from edm::eventsetup::DataProxy
void clearCacheIsValid ()
 

Private Member Functions

void const * getAfterPrefetchImpl () const final
 

Detailed Description

template<typename DataT>
class edm::eventsetup::ESSourceConcurrentDataProxyTemplate< DataT >

Definition at line 36 of file ESSourceConcurrentDataProxyTemplate.h.

Constructor & Destructor Documentation

◆ ESSourceConcurrentDataProxyTemplate() [1/2]

◆ ESSourceConcurrentDataProxyTemplate() [2/2]

Member Function Documentation

◆ fetch()

template<typename DataT >
virtual DataT const* edm::eventsetup::ESSourceConcurrentDataProxyTemplate< DataT >::fetch ( ) const
protectedpure virtual

Inheriting classes must also override void prefetch(edm::eventsetup::DataKey const& iKey, EventSetupRecordDetails) override;returns the data obtained in the call to prefetch

Referenced by edm::eventsetup::ESSourceConcurrentDataProxyTemplate< DataT >::getAfterPrefetchImpl().

◆ getAfterPrefetchImpl()

template<typename DataT >
void const* edm::eventsetup::ESSourceConcurrentDataProxyTemplate< DataT >::getAfterPrefetchImpl ( ) const
inlinefinalprivatevirtual

used to retrieve the data from the implementation. The data is then cached locally.

Implements edm::eventsetup::DataProxy.

Definition at line 57 of file ESSourceConcurrentDataProxyTemplate.h.

References edm::eventsetup::ESSourceConcurrentDataProxyTemplate< DataT >::fetch().

57 { return fetch(); }

◆ operator=()

template<typename DataT >
const ESSourceConcurrentDataProxyTemplate& edm::eventsetup::ESSourceConcurrentDataProxyTemplate< DataT >::operator= ( const ESSourceConcurrentDataProxyTemplate< DataT > &  )
delete