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::ESSourceDataProxyNonConcurrentBase edm::eventsetup::ESSourceDataProxyBase edm::eventsetup::DataProxy DataProxy< RecordT, DataT, Initializer >

Public Member Functions

 ESSourceDataProxyTemplate (edm::SerialTaskQueue *iQueue, std::mutex *iMutex)
 
 ESSourceDataProxyTemplate (const ESSourceDataProxyTemplate &)=delete
 
const ESSourceDataProxyTemplateoperator= (const ESSourceDataProxyTemplate &)=delete
 
- Public Member Functions inherited from edm::eventsetup::ESSourceDataProxyNonConcurrentBase
 ESSourceDataProxyNonConcurrentBase (edm::SerialTaskQueue *iQueue, std::mutex *iMutex)
 
std::mutex * mutex () const
 
edm::SerialTaskQueuequeue () const
 
- 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::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  : ESSourceDataProxyNonConcurrentBase(iQueue, iMutex) {}
ESSourceDataProxyNonConcurrentBase(edm::SerialTaskQueue *iQueue, std::mutex *iMutex)

◆ ESSourceDataProxyTemplate() [2/2]

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

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 58 of file ESSourceDataProxyTemplate.h.

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

58 { return fetch(); }
virtual DataT const * fetch() const =0

◆ operator=()

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