CMS 3D CMS Logo

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

#include <ESSourceDataProxyTemplate.h>

Inheritance diagram for edm::eventsetup::ESSourceDataProxyTemplate< DataT >:
edm::eventsetup::ESSourceDataProxyBase edm::eventsetup::DataProxy DataProxy< RecordT, DataT, Initializer >

Public Member Functions

 ESSourceDataProxyTemplate (edm::SerialTaskQueue *iQueue, std::mutex *iMutex)
 
- Public Member Functions inherited from edm::eventsetup::ESSourceDataProxyBase
 ESSourceDataProxyBase (edm::SerialTaskQueue *iQueue, std::mutex *iMutex)
 
std::mutex * mutex () const
 
edm::SerialTaskQueuequeue () const
 
- 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
 
- Protected Member Functions inherited from edm::eventsetup::DataProxy
void clearCacheIsValid ()
 

Private Member Functions

 ESSourceDataProxyTemplate (const ESSourceDataProxyTemplate &)=delete
 
void const * getAfterPrefetchImpl () const final
 
const ESSourceDataProxyTemplateoperator= (const ESSourceDataProxyTemplate &)=delete
 

Detailed Description

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

Definition at line 36 of file ESSourceDataProxyTemplate.h.

Constructor & Destructor Documentation

◆ ESSourceDataProxyTemplate() [1/2]

template<typename DataT >
edm::eventsetup::ESSourceDataProxyTemplate< DataT >::ESSourceDataProxyTemplate ( edm::SerialTaskQueue iQueue,
std::mutex iMutex 
)
inline

Definition at line 38 of file ESSourceDataProxyTemplate.h.

39  : ESSourceDataProxyBase(iQueue, iMutex) {}

◆ ESSourceDataProxyTemplate() [2/2]

template<typename DataT >
edm::eventsetup::ESSourceDataProxyTemplate< DataT >::ESSourceDataProxyTemplate ( const ESSourceDataProxyTemplate< DataT > &  )
privatedelete

Member Function Documentation

◆ fetch()

template<typename DataT >
virtual DataT const* edm::eventsetup::ESSourceDataProxyTemplate< 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

Implemented in DataProxy< RecordT, DataT, Initializer >.

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

◆ getAfterPrefetchImpl()

template<typename DataT >
void const* edm::eventsetup::ESSourceDataProxyTemplate< 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 55 of file ESSourceDataProxyTemplate.h.

55 { return fetch(); }

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

◆ operator=()

template<typename DataT >
const ESSourceDataProxyTemplate& edm::eventsetup::ESSourceDataProxyTemplate< DataT >::operator= ( const ESSourceDataProxyTemplate< DataT > &  )
privatedelete
edm::eventsetup::ESSourceDataProxyBase::ESSourceDataProxyBase
ESSourceDataProxyBase(edm::SerialTaskQueue *iQueue, std::mutex *iMutex)
Definition: ESSourceDataProxyBase.h:41
edm::eventsetup::ESSourceDataProxyTemplate::fetch
virtual DataT const * fetch() const =0