|
| CallbackProxy (const CallbackProxy &)=delete |
|
| CallbackProxy (std::shared_ptr< CallbackT > &iCallback) |
|
const void * | getImpl (const EventSetupRecordImpl &iRecord, const DataKey &, EventSetupImpl const *iEventSetupImpl) override |
|
void | invalidateCache () override |
|
const CallbackProxy & | operator= (const CallbackProxy &)=delete |
|
| ~CallbackProxy () override |
|
bool | cacheIsValid () const |
|
| DataProxy () |
|
| DataProxy (DataProxy const &)=delete |
|
void | doGet (EventSetupRecordImpl const &, DataKey const &, bool iTransiently, ActivityRegistry const *, EventSetupImpl const *) const |
|
void const * | get (EventSetupRecordImpl const &, DataKey const &, bool iTransiently, ActivityRegistry const *, EventSetupImpl const *) const |
|
virtual void | initializeForNewIOV () |
|
void | invalidate () |
|
DataProxy const & | operator= (DataProxy const &)=delete |
|
ComponentDescription const * | providerDescription () const |
| returns the description of the DataProxyProvider which owns this Proxy More...
|
|
void | resetIfTransient () |
|
void | setProviderDescription (ComponentDescription const *iDesc) |
|
virtual | ~DataProxy () |
|
template<class CallbackT, class RecordT, class DataT>
class edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >
Definition at line 37 of file CallbackProxy.h.
template<class CallbackT , class RecordT , class DataT >
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 55 of file CallbackProxy.h.
58 assert(iRecord.key() == RecordT::keyForClass());
60 rec.setImpl(&iRecord,
callback_->transitionID(),
callback_->getTokenIndices(), iEventSetupImpl,
true);
References cms::cuda::assert(), 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().