#include <CallbackBase.h>
Public Member Functions | |
CallbackBase (T *iProd, std::shared_ptr< TProduceFunc > iProduceFunc, unsigned int iID, const TDecorator &iDec) | |
CallbackBase (const CallbackBase &)=delete | |
CallbackBase (CallbackBase &&)=delete | |
ESModuleCallingContext & | callingContext () |
TDecorator const & | decorator () const |
ESResolverIndex const * | getTokenIndices () const |
template<class DataT > | |
void | holdOntoPointer (DataT *iData) |
template<typename ProduceFunctor > | |
WaitingTaskHolder | makeProduceTask (oneapi::tbb::task_group *group, ServiceWeakToken const &serviceToken, EventSetupRecordImpl const *record, EventSetupImpl const *eventSetupImpl, bool emitPostPrefetchingSignal, ProduceFunctor &&produceFunctor) |
void | newRecordComing () |
CallbackBase & | operator= (const CallbackBase &)=delete |
CallbackBase & | operator= (CallbackBase &&)=delete |
std::optional< std::vector< ESResolverIndex > > const & | postMayGetResolvers () const |
template<typename RunModuleFnctr > | |
void | prefetchAsyncImpl (RunModuleFnctr &&runModuleFnctr, WaitingTaskHolder iTask, EventSetupRecordImpl const *iRecord, EventSetupImpl const *iEventSetupImpl, ServiceToken const &token, ESParentContext const &iParent) |
std::shared_ptr< TProduceFunc > const & | produceFunction () |
T * | producer () |
SerialTaskQueueChain & | queue () |
template<class RemainingContainerT , class DataT , class ProductsT > | |
void | setData (ProductsT &iProducts) |
WaitingTaskList & | taskList () |
unsigned int | transitionID () const |
Protected Member Functions | |
~CallbackBase ()=default | |
Private Member Functions | |
bool | handleMayGet (EventSetupRecordImpl const *iRecord, EventSetupImpl const *iEventSetupImpl) |
void | prefetchNeededDataAsync (WaitingTaskHolder task, EventSetupImpl const *iImpl, ESResolverIndex const *proxies, ServiceToken const &token) const |
void | storeReturnedValues (TReturn iReturn) |
Private Attributes | |
ESModuleCallingContext | callingContext_ |
TDecorator | decorator_ |
const unsigned int | id_ |
std::optional< std::vector< ESResolverIndex > > | postMayGetResolvers_ |
std::shared_ptr< TProduceFunc > | produceFunction_ |
propagate_const< T * > | producer_ |
std::array< void *, produce::size< TReturn >::value > | proxyData_ |
WaitingTaskList | taskList_ |
std::atomic< bool > | wasCalledForThisRecord_ |
Description: Functional object used as the 'callback' for the CallbackESProductResolver
Usage: Produces data objects for ESProducers in EventSetup system
Definition at line 68 of file CallbackBase.h.
|
inline |
Definition at line 70 of file CallbackBase.h.
|
delete |
|
delete |
|
protecteddefault |
|
inline |
Definition at line 229 of file CallbackBase.h.
|
inline |
Definition at line 232 of file CallbackBase.h.
Referenced by edm::eventsetup::Callback< T, TProduceFunc, TReturn, TRecord, TDecorator >::clone().
|
inline |
Definition at line 225 of file CallbackBase.h.
Referenced by edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::handleMayGet(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeProduceTask(), and edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchAsyncImpl().
|
inlineprivate |
Definition at line 258 of file CallbackBase.h.
Referenced by edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchAsyncImpl().
|
inline |
Definition at line 204 of file CallbackBase.h.
|
inline |
Definition at line 85 of file CallbackBase.h.
Referenced by edm::eventsetup::Callback< T, TProduceFunc, TReturn, TRecord, TDecorator >::prefetchAsync().
|
inline |
Definition at line 219 of file CallbackBase.h.
|
delete |
|
delete |
|
inline |
Definition at line 227 of file CallbackBase.h.
|
inline |
Definition at line 163 of file CallbackBase.h.
Referenced by edm::eventsetup::Callback< T, TProduceFunc, TReturn, TRecord, TDecorator >::prefetchAsync().
|
inlineprivate |
Definition at line 244 of file CallbackBase.h.
Referenced by edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchAsyncImpl().
|
inline |
Definition at line 231 of file CallbackBase.h.
Referenced by edm::eventsetup::Callback< T, TProduceFunc, TReturn, TRecord, TDecorator >::clone(), and edm::eventsetup::Callback< T, TProduceFunc, TReturn, TRecord, TDecorator >::prefetchAsync().
|
inline |
Definition at line 228 of file CallbackBase.h.
Referenced by edm::eventsetup::Callback< T, TProduceFunc, TReturn, TRecord, TDecorator >::clone().
|
inline |
Definition at line 233 of file CallbackBase.h.
|
inline |
Definition at line 209 of file CallbackBase.h.
|
inlineprivate |
Definition at line 239 of file CallbackBase.h.
Referenced by edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeProduceTask().
|
inline |
Definition at line 230 of file CallbackBase.h.
|
inline |
Definition at line 224 of file CallbackBase.h.
Referenced by edm::eventsetup::Callback< T, TProduceFunc, TReturn, TRecord, TDecorator >::clone(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::handleMayGet(), and edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeProduceTask().
|
private |
Definition at line 270 of file CallbackBase.h.
Referenced by edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::callingContext(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::handleMayGet(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeProduceTask(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchAsyncImpl(), and edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchNeededDataAsync().
|
private |
|
private |
Definition at line 276 of file CallbackBase.h.
Referenced by edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::getTokenIndices(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::handleMayGet(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchNeededDataAsync(), and edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::transitionID().
|
private |
Definition at line 268 of file CallbackBase.h.
Referenced by edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::handleMayGet(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeProduceTask(), and edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::postMayGetResolvers().
|
private |
Definition at line 274 of file CallbackBase.h.
Referenced by edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::produceFunction().
|
private |
Definition at line 269 of file CallbackBase.h.
Referenced by edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::getTokenIndices(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::handleMayGet(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeProduceTask(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchAsyncImpl(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchNeededDataAsync(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::producer(), and edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::queue().
|
private |
|
private |
Definition at line 271 of file CallbackBase.h.
Referenced by edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::makeProduceTask(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::newRecordComing(), edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::prefetchAsyncImpl(), and edm::eventsetup::CallbackBase< T, TProduceFunc, TProduceReturn, TRecord, TDecorator >::taskList().
|
private |