|
| CallbackProxy (std::shared_ptr< CallbackT > &iCallback) |
|
| CallbackProxy (const CallbackProxy &)=delete |
|
void const * | getAfterPrefetchImpl () const final |
|
void | invalidateCache () override |
|
const CallbackProxy & | operator= (const CallbackProxy &)=delete |
|
void | prefetchAsyncImpl (WaitingTaskHolder iWaitTask, const EventSetupRecordImpl &iRecord, const DataKey &, EventSetupImpl const *iEventSetupImpl, ServiceToken const &iToken, edm::ESParentContext const &iParent) final |
|
| ~CallbackProxy () final |
|
bool | cacheIsValid () const |
|
| DataProxy () |
|
| DataProxy (DataProxy const &)=delete |
|
void const * | get (EventSetupRecordImpl const &, DataKey const &, bool iTransiently, ActivityRegistry const *, EventSetupImpl const *, ESParentContext const &) const |
|
void const * | getAfterPrefetch (const EventSetupRecordImpl &iRecord, const DataKey &iKey, bool iTransiently) const |
|
virtual void | initializeForNewIOV () |
|
void | invalidate () |
|
DataProxy const & | operator= (DataProxy const &)=delete |
|
void | prefetchAsync (WaitingTaskHolder, EventSetupRecordImpl const &, DataKey const &, EventSetupImpl const *, ServiceToken const &, ESParentContext const &) const |
|
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 39 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 57 of file CallbackProxy.h.
References cms::cuda::assert(), and edm::eventsetup::CallbackProxy< CallbackT, RecordT, DataT >::callback_.
63 assert(iRecord.key() == RecordT::keyForClass());
64 callback_->prefetchAsync(iWaitTask, &iRecord, iEventSetupImpl, iToken, iParent);
edm::propagate_const< std::shared_ptr< CallbackT > > callback_