#include <FWCore/Framework/interface/DataProxy.h>
Public Types | |
typedef std::shared_ptr< cond::persistency::PayloadProxy< DataT > > | DataP |
typedef DataProxy< RecordT, DataT > | self |
Public Types inherited from edm::eventsetup::DataProxyTemplate< RecordT, DataT > | |
typedef RecordT | record_type |
typedef DataT | value_type |
Public Member Functions | |
DataProxy (std::shared_ptr< cond::persistency::PayloadProxy< DataT > > pdata) | |
Public Member Functions inherited from edm::eventsetup::DataProxyTemplate< RecordT, DataT > | |
DataProxyTemplate () | |
const void * | getImpl (const EventSetupRecordImpl &iRecord, const DataKey &iKey) override |
Public Member Functions inherited from edm::eventsetup::DataProxy | |
bool | cacheIsValid () const |
DataProxy () | |
void | doGet (EventSetupRecordImpl const &iRecord, DataKey const &iKey, bool iTransiently, ActivityRegistry *) const |
void const * | get (EventSetupRecordImpl const &, DataKey const &iKey, bool iTransiently, ActivityRegistry *) const |
void | invalidate () |
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 | |
void | invalidateCache () override |
void | invalidateTransientCache () override |
const DataT * | make (const RecordT &, const edm::eventsetup::DataKey &) override |
Protected Member Functions inherited from edm::eventsetup::DataProxy | |
void | clearCacheIsValid () |
virtual void const * | getImpl (EventSetupRecordImpl const &, DataKey const &iKey)=0 |
Private Member Functions | |
const DataProxy & | operator= (const DataProxy &)=delete |
Private Attributes | |
std::shared_ptr< cond::persistency::PayloadProxy< DataT > > | m_data |
Initializer | m_initializer |
Description: Base class for data Proxies held by a EventSetupRecord
Usage: This class defines the interface used to handle retrieving data from an EventSetup Record.
Definition at line 20 of file DataProxy.h.
typedef std::shared_ptr<cond::persistency::PayloadProxy<DataT> > DataProxy< RecordT, DataT, Initializer >::DataP |
Definition at line 23 of file DataProxy.h.
typedef DataProxy<RecordT,DataT> DataProxy< RecordT, DataT, Initializer >::self |
Definition at line 22 of file DataProxy.h.
|
inlineexplicit |
Definition at line 25 of file DataProxy.h.
|
inlineoverrideprotectedvirtual |
indicates that the Proxy should invalidate any cached information as that information has 'expired' (i.e. we have moved to a new IOV)
Implements edm::eventsetup::DataProxy.
Definition at line 42 of file DataProxy.h.
|
inlineoverrideprotectedvirtual |
indicates that the Proxy should invalidate any cached information as that information was accessed transiently and therefore is not intended to be kept over the entire IOV. Default is to call invalidateCache().
Reimplemented from edm::eventsetup::DataProxy.
Definition at line 46 of file DataProxy.h.
|
inlineoverrideprotectedvirtual |
Implements edm::eventsetup::DataProxyTemplate< RecordT, DataT >.
Definition at line 37 of file DataProxy.h.
|
privatedelete |
|
private |
Definition at line 54 of file DataProxy.h.
|
private |
Definition at line 55 of file DataProxy.h.