#include <DataProxyTemplate.h>
Public Types | |
typedef RecordT | record_type |
typedef DataT | value_type |
Public Member Functions | |
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 const DataT * | make (const RecordT &, const DataKey &)=0 |
Protected Member Functions inherited from edm::eventsetup::DataProxy | |
void | clearCacheIsValid () |
virtual void | invalidateCache ()=0 |
virtual void | invalidateTransientCache () |
Private Member Functions | |
DataProxyTemplate (const DataProxyTemplate &) | |
const DataProxyTemplate & | operator= (const DataProxyTemplate &) |
Definition at line 33 of file DataProxyTemplate.h.
typedef RecordT edm::eventsetup::DataProxyTemplate< RecordT, DataT >::record_type |
Definition at line 38 of file DataProxyTemplate.h.
typedef DataT edm::eventsetup::DataProxyTemplate< RecordT, DataT >::value_type |
Definition at line 37 of file DataProxyTemplate.h.
|
inline |
Definition at line 40 of file DataProxyTemplate.h.
|
private |
|
inlinevirtual |
This is the function which does the real work of getting the data if it is not already cached. The returning 'void const*' must point to an instance of the class type corresponding to the type designated in iKey. So if iKey refers to a base class interface the pointer must be a pointer to that base class interface and not a pointer to an inheriting class instance.
Implements edm::eventsetup::DataProxy.
Definition at line 48 of file DataProxyTemplate.h.
References edm::eventsetup::EventSetupRecord::key(), and edm::eventsetup::DataProxyTemplate< RecordT, DataT >::make().
|
protectedpure virtual |
Implemented in DataProxy< RecordT, DataT, Initializer >.
Referenced by edm::eventsetup::DataProxyTemplate< RecordT, DataT >::getImpl().
|
private |