#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 () | |
virtual const void * | getImpl (const EventSetupRecord &iRecord, const DataKey &iKey) |
Public Member Functions inherited from edm::eventsetup::DataProxy | |
bool | cacheIsValid () const |
DataProxy () | |
void | doGet (EventSetupRecord const &iRecord, DataKey const &iKey, bool iTransiently) const |
void const * | get (EventSetupRecord const &, DataKey const &iKey, bool iTransiently) 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 | |
virtual void | invalidateCache () |
virtual void | invalidateTransientCache () |
virtual const DataT * | make (const RecordT &, const edm::eventsetup::DataKey &) |
Protected Member Functions inherited from edm::eventsetup::DataProxy | |
void | clearCacheIsValid () |
Private Member Functions | |
const DataProxy & | operator= (const DataProxy &) |
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.
|
inlineprotectedvirtual |
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.
|
inlineprotectedvirtual |
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.
References DataProxy< RecordT, DataT, Initializer >::m_data.
|
inlineprotectedvirtual |
Implements edm::eventsetup::DataProxyTemplate< RecordT, DataT >.
Definition at line 37 of file DataProxy.h.
References DataProxy< RecordT, DataT, Initializer >::m_data, and DataProxy< RecordT, DataT, Initializer >::m_initializer.
|
private |
|
private |
Definition at line 54 of file DataProxy.h.
Referenced by DataProxy< RecordT, DataT, Initializer >::invalidateTransientCache(), and DataProxy< RecordT, DataT, Initializer >::make().
|
private |
Definition at line 55 of file DataProxy.h.
Referenced by DataProxy< RecordT, DataT, Initializer >::make().