CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions | Private Member Functions
edm::eventsetup::DataProxyTemplate< RecordT, DataT > Class Template Referenceabstract

#include <DataProxyTemplate.h>

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

Public Types

typedef RecordT record_type
 
typedef DataT value_type
 

Public Member Functions

 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

virtual const DataT * make (const RecordT &, const DataKey &)=0
 
- Protected Member Functions inherited from edm::eventsetup::DataProxy
void clearCacheIsValid ()
 
virtual void const * getImpl (EventSetupRecordImpl const &, DataKey const &iKey)=0
 
virtual void invalidateCache ()=0
 
virtual void invalidateTransientCache ()
 

Private Member Functions

 DataProxyTemplate (const DataProxyTemplate &)=delete
 
const DataProxyTemplateoperator= (const DataProxyTemplate &)=delete
 

Detailed Description

template<class RecordT, class DataT>
class edm::eventsetup::DataProxyTemplate< RecordT, DataT >

Definition at line 33 of file DataProxyTemplate.h.

Member Typedef Documentation

template<class RecordT , class DataT >
typedef RecordT edm::eventsetup::DataProxyTemplate< RecordT, DataT >::record_type

Definition at line 38 of file DataProxyTemplate.h.

template<class RecordT , class DataT >
typedef DataT edm::eventsetup::DataProxyTemplate< RecordT, DataT >::value_type

Definition at line 37 of file DataProxyTemplate.h.

Constructor & Destructor Documentation

template<class RecordT , class DataT >
edm::eventsetup::DataProxyTemplate< RecordT, DataT >::DataProxyTemplate ( )
inline
template<class RecordT , class DataT >
edm::eventsetup::DataProxyTemplate< RecordT, DataT >::DataProxyTemplate ( const DataProxyTemplate< RecordT, DataT > &  )
privatedelete

Member Function Documentation

template<class RecordT , class DataT >
const void* edm::eventsetup::DataProxyTemplate< RecordT, DataT >::getImpl ( const EventSetupRecordImpl iRecord,
const DataKey iKey 
)
inlineoverride

Definition at line 48 of file DataProxyTemplate.h.

References edm::eventsetup::DataProxyTemplate< RecordT, DataT >::DataProxyTemplate(), edm::eventsetup::EventSetupRecordImpl::key(), edm::eventsetup::DataProxyTemplate< RecordT, DataT >::make(), and edm::eventsetup::DataProxyTemplate< RecordT, DataT >::operator=().

49  {
50  assert(iRecord.key() == RecordT::keyForClass());
51  RecordT rec;
52  rec.setImpl(&iRecord);
53  return this->make(rec, iKey);
54  }
virtual const DataT * make(const RecordT &, const DataKey &)=0
template<class RecordT , class DataT >
virtual const DataT* edm::eventsetup::DataProxyTemplate< RecordT, DataT >::make ( const RecordT &  ,
const DataKey  
)
protectedpure virtual
template<class RecordT , class DataT >
const DataProxyTemplate& edm::eventsetup::DataProxyTemplate< RecordT, DataT >::operator= ( const DataProxyTemplate< RecordT, DataT > &  )
privatedelete