#include <Callback.h>
Public Types | |
using | method_type = TReturn(T::*)(const TRecord &) |
Public Member Functions | |
Callback (const Callback &)=delete | |
Callback * | clone () |
ESProxyIndex const * | getTokenIndices () const |
template<class DataT > | |
void | holdOntoPointer (DataT *iData) |
callingContext_ & | iProd ()), method_(iMethod), id_(iID), wasCalledForThisRecord_(false), decorator_(iDec |
void | newRecordComing () |
const Callback & | operator= (const Callback &)=delete |
void | prefetchAsync (WaitingTaskHolder iTask, EventSetupRecordImpl const *iRecord, EventSetupImpl const *iEventSetupImpl, ServiceToken const &token, ESParentContext const &iParent) |
producer_ (iProd) | |
template<class RemainingContainerT , class DataT , class ProductsT > | |
void | setData (ProductsT &iProducts) |
void | storeReturnedValues (TReturn iReturn) |
unsigned int | transitionID () const |
Public Attributes | |
__pad0__: proxyData_{} | |
Private Member Functions | |
bool | handleMayGet (EventSetupRecordImpl const *iRecord, EventSetupImpl const *iEventSetupImpl) |
void | prefetchNeededDataAsync (WaitingTaskHolder task, EventSetupImpl const *iImpl, ESProxyIndex const *proxies, edm::ServiceToken const &token) const |
void | runProducerAsync (oneapi::tbb::task_group *iGroup, std::exception_ptr const *iExcept, EventSetupRecordImpl const *iRecord, EventSetupImpl const *iEventSetupImpl, ServiceToken const &token) |
Private Attributes | |
ESModuleCallingContext | callingContext_ |
TDecorator | decorator_ |
const unsigned int | id_ |
method_type | method_ |
std::optional< std::vector < ESProxyIndex > > | postMayGetProxies_ |
edm::propagate_const< T * > | producer_ |
std::array< void *, produce::size< TReturn > ::value > | proxyData_ |
edm::WaitingTaskList | taskList_ |
std::atomic< bool > | wasCalledForThisRecord_ |
Description: Functional object used as the 'callback' for the CallbackProxy
Usage: <usage>
Definition at line 56 of file Callback.h.
using edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::method_type = TReturn (T ::*)(const TRecord&) |
Definition at line 58 of file Callback.h.
|
delete |
|
inline |
Definition at line 69 of file Callback.h.
References edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::Callback(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::decorator_, edm::propagate_const< T >::get(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::id_, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::method_, and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::producer_.
|
inline |
Definition at line 148 of file Callback.h.
References edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::id_, and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::producer_.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::handleMayGet(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchAsync(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().
|
inlineprivate |
Definition at line 165 of file Callback.h.
References edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::callingContext_, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::getTokenIndices(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::id_, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::postMayGetProxies_, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::producer_, and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::transitionID().
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchAsync().
|
inline |
Definition at line 123 of file Callback.h.
References edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::proxyData_.
|
inline |
Definition at line 63 of file Callback.h.
|
inline |
Definition at line 142 of file Callback.h.
References edm::WaitingTaskList::reset(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::taskList_, and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::wasCalledForThisRecord_.
|
delete |
|
inline |
Definition at line 74 of file Callback.h.
References edm::eventsetup::EventSetupRecordImpl::activityRegistry(), edm::WaitingTaskList::add(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::callingContext_, edm::signalslot::Signal< T >::emit(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::getTokenIndices(), edm::WaitingTaskHolder::group(), watchdog::group, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::handleMayGet(), edm::eventsetup::EventSetupRecordImpl::key(), edm::ESModuleCallingContext::kPrefetching, edm::ServiceWeakToken::lock(), edm::make_waiting_task(), edm::ActivityRegistry::preESModulePrefetchingSignal_, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchNeededDataAsync(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::producer_, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync(), edm::ESModuleCallingContext::setContext(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::taskList_, unpackBuffers-CaloStage2::token, UNLIKELY, and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::wasCalledForThisRecord_.
|
inlineprivate |
Definition at line 151 of file Callback.h.
References edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::callingContext_, edm::EventSetupImpl::findImpl(), mps_fire::i, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::id_, dqmiodumpmetadata::n, edm::eventsetup::EventSetupRecordImpl::prefetchAsync(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::producer_.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchAsync().
edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::producer_ | ( | iProd | ) |
|
inlineprivate |
Definition at line 174 of file Callback.h.
References edm::eventsetup::EventSetupRecordImpl::activityRegistry(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::callingContext_, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::decorator_, edm::WaitingTaskList::doneWaiting(), edm::signalslot::Signal< T >::emit(), edm::exceptionContext(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::getTokenIndices(), edm::eventsetup::EventSetupRecordImpl::key(), edm::ESModuleCallingContext::kRunning, edm::ServiceWeakToken::lock(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::method_, edm::ActivityRegistry::postESModulePrefetchingSignal_, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::postMayGetProxies_, edm::ActivityRegistry::preESModuleSignal_, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::producer_, edm::ESModuleCallingContext::setState(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::storeReturnedValues(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::taskList_, unpackBuffers-CaloStage2::token, edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::transitionID(), and edm::convertException::wrap().
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchAsync().
|
inline |
Definition at line 133 of file Callback.h.
References edm::eventsetup::moveFromTo(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::proxyData_, and groupFilesInBlocks::temp.
|
inline |
Definition at line 127 of file Callback.h.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().
|
inline |
Definition at line 147 of file Callback.h.
References edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::id_.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::handleMayGet(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().
edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::__pad0__ |
Definition at line 61 of file Callback.h.
|
private |
Definition at line 223 of file Callback.h.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::handleMayGet(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchAsync(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchNeededDataAsync(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().
|
private |
Definition at line 229 of file Callback.h.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::clone(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().
|
private |
Definition at line 227 of file Callback.h.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::clone(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::getTokenIndices(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::handleMayGet(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchNeededDataAsync(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::transitionID().
|
private |
Definition at line 225 of file Callback.h.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::clone(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().
|
private |
Definition at line 221 of file Callback.h.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::handleMayGet(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().
|
private |
Definition at line 222 of file Callback.h.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::clone(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::getTokenIndices(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::handleMayGet(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchAsync(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchNeededDataAsync(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().
|
private |
Definition at line 220 of file Callback.h.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::holdOntoPointer(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::setData().
|
private |
Definition at line 224 of file Callback.h.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::newRecordComing(), edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchAsync(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().
|
private |
Definition at line 228 of file Callback.h.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::newRecordComing(), and edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchAsync().