#include <CallbackProxy.h>
Public Types | |
using | record_type = RecordT |
using | smart_pointer_traits = produce::smart_pointer_traits< DataT > |
using | value_type = typename smart_pointer_traits::type |
Public Member Functions | |
CallbackProxy (std::shared_ptr< CallbackT > &iCallback) | |
CallbackProxy (const CallbackProxy &)=delete | |
const void * | getImpl (const EventSetupRecordImpl &iRecord, const DataKey &) override |
void | invalidateCache () override |
const CallbackProxy & | operator= (const CallbackProxy &)=delete |
~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 *) const |
void const * | get (EventSetupRecordImpl const &, DataKey const &iKey, bool iTransiently, ActivityRegistry const *) 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 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 37 of file CallbackProxy.h.
using edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::record_type = RecordT |
Definition at line 41 of file CallbackProxy.h.
using edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::smart_pointer_traits = produce::smart_pointer_traits<DataT> |
Definition at line 39 of file CallbackProxy.h.
using edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::value_type = typename smart_pointer_traits::type |
Definition at line 40 of file CallbackProxy.h.
|
inline |
Definition at line 43 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 50 of file CallbackProxy.h.
References edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::callback_.
|
delete |
|
inlineoverride |
Definition at line 55 of file CallbackProxy.h.
References edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::callback_, edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::data_, edm::eventsetup::produce::smart_pointer_traits< T >::getPointer(), and 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 63 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=().
|
delete |
|
private |
|
private |