#include <CallbackProxy.h>
Public Types | |
typedef RecordT | record_type |
typedef produce::smart_pointer_traits< DataT >::type | value_type |
Public Member Functions | |
CallbackProxy (std::shared_ptr< CallbackT > &iCallback) | |
const void * | getImpl (const EventSetupRecordImpl &iRecord, const DataKey &) override |
void | invalidateCache () override |
~CallbackProxy () 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 () |
Private Member Functions | |
CallbackProxy (const CallbackProxy &)=delete | |
const CallbackProxy & | operator= (const CallbackProxy &)=delete |
Private Attributes | |
edm::propagate_const< std::shared_ptr< CallbackT > > | callback_ |
DataT | data_ |
Additional Inherited Members | |
Protected Member Functions inherited from edm::eventsetup::DataProxy | |
void | clearCacheIsValid () |
virtual void const * | getImpl (EventSetupRecordImpl const &, DataKey const &iKey)=0 |
virtual void | invalidateTransientCache () |
Definition at line 38 of file CallbackProxy.h.
typedef RecordT edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::record_type |
Definition at line 42 of file CallbackProxy.h.
typedef produce::smart_pointer_traits<DataT>::type edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::value_type |
Definition at line 41 of file CallbackProxy.h.
|
inline |
Definition at line 44 of file CallbackProxy.h.
References edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::data_.
Referenced by edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::invalidateCache().
|
inlineoverride |
Definition at line 51 of file CallbackProxy.h.
References edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::callback_.
|
privatedelete |
|
inlineoverride |
Definition at line 60 of file CallbackProxy.h.
References edm::eventsetup::EventSetupRecordImpl::key().
|
inlineoverridevirtual |
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 68 of file CallbackProxy.h.
References edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::callback_, edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::CallbackProxy(), edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::data_, and edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::operator=().
|
privatedelete |
|
private |
Definition at line 79 of file CallbackProxy.h.
Referenced by edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::invalidateCache(), and edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::~CallbackProxy().
|
private |
Definition at line 78 of file CallbackProxy.h.
Referenced by edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::CallbackProxy(), and edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::invalidateCache().