|
| ESProducerExternalWork () |
|
template<typename T > |
auto | setWhatAcquiredProduced (T *iThis, const es::Label &iLabel={}) |
|
template<typename T > |
auto | setWhatAcquiredProduced (T *iThis, const char *iLabel) |
|
template<typename T > |
auto | setWhatAcquiredProduced (T *iThis, const std::string &iLabel) |
|
template<typename T , typename TDecorator > |
auto | setWhatAcquiredProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename T , typename TAcquireReturn , typename TProduceReturn , typename TRecord > |
auto | setWhatAcquiredProduced (T *iThis, TAcquireReturn(T::*iAcquireMethod)(const TRecord &, WaitingTaskWithArenaHolder), TProduceReturn(T::*iProduceMethod)(const TRecord &, TAcquireReturn), const es::Label &iLabel={}) |
|
template<typename T , typename TAcquireReturn , typename TProduceReturn , typename TRecord , typename TDecorator > |
auto | setWhatAcquiredProduced (T *iThis, TAcquireReturn(T::*iAcquireMethod)(const TRecord &, WaitingTaskWithArenaHolder), TProduceReturn(T ::*iProduceMethod)(const TRecord &, TAcquireReturn), const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename TAcquireFunc , typename TProduceFunc > |
auto | setWhatAcquiredProducedWithLambda (TAcquireFunc &&acquireFunc, TProduceFunc &&produceFunc, const es::Label &iLabel={}) |
|
template<typename TAcquireReturn , typename TProduceReturn , typename TRecord , typename TAcquireFunc , typename TProduceFunc , typename TDecorator > |
ESConsumesCollectorT< TRecord > | setWhatAcquiredProducedWithLambda (TAcquireFunc &&acquireFunc, TProduceFunc &&produceFunc, TDecorator &&iDec, const es::Label &iLabel={}) |
|
| ESProducer () |
|
| ESProducer (const ESProducer &)=delete |
|
| ESProducer (ESProducer &&)=delete |
|
ESResolverIndex const * | getTokenIndices (unsigned int iIndex) const |
|
ESRecordIndex const * | getTokenRecordIndices (unsigned int iIndex) const |
|
bool | hasMayConsumes () const noexcept |
|
size_t | numberOfTokenIndices (unsigned int iIndex) const |
|
ESProducer & | operator= (const ESProducer &)=delete |
|
ESProducer & | operator= (ESProducer &&)=delete |
|
SerialTaskQueueChain & | queue () |
|
template<typename Record > |
std::optional< std::vector< ESResolverIndex > > | updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const |
|
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) final |
|
| ~ESProducer () noexcept(false) override |
|
| ESProductResolverFactoryProducer () |
|
| ESProductResolverFactoryProducer (const ESProductResolverFactoryProducer &)=delete |
|
const ESProductResolverFactoryProducer & | operator= (const ESProductResolverFactoryProducer &)=delete |
|
| ~ESProductResolverFactoryProducer () noexcept(false) override |
|
void | createKeyedResolvers (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
|
const ComponentDescription & | description () const |
|
| ESProductResolverProvider () |
|
| ESProductResolverProvider (const ESProductResolverProvider &)=delete |
|
void | fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const |
|
virtual void | initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
|
bool | isUsingRecord (const EventSetupRecordKey &key) const |
|
KeyedResolvers & | keyedResolvers (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0) |
|
const ESProductResolverProvider & | operator= (const ESProductResolverProvider &)=delete |
|
void | setAppendToDataLabel (const edm::ParameterSet &) |
|
void | setDescription (const ComponentDescription &iDescription) |
|
std::set< EventSetupRecordKey > | usingRecords () const |
|
virtual | ~ESProductResolverProvider () noexcept(false) |
|
|
static void | prevalidate (ConfigurationDescriptions &) |
|
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
|
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
|
ESConsumesInfo * | consumesInfoPushBackNew () |
|
unsigned int | consumesInfoSize () const |
|
template<typename CallbackT , typename TList , typename TRecord > |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
|
template<typename CallbackT , typename TRecord > |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const char *iLabel) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
|
template<typename T , typename TDecorator > |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord > |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord , typename TDecorator > |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename TFunc > |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
|
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
|
void | usesResources (std::vector< std::string > const &) |
|
template<class TFactory > |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
|
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) |
|
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
|
template<class T > |
void | usingRecord () |
|
void | usingRecordWithKey (const EventSetupRecordKey &key) |
|
Definition at line 37 of file ESProducerExternalWork.h.
template<typename TAcquireFunc , typename TProduceFunc >
auto edm::ESProducerExternalWork::setWhatAcquiredProducedWithLambda |
( |
TAcquireFunc && |
acquireFunc, |
|
|
TProduceFunc && |
produceFunc, |
|
|
const es::Label & |
iLabel = {} |
|
) |
| |
|
inline |
This overload allows lambdas (functors) to be used as the production function. As of now it is not intended for wide use (we are thinking for a better API for users)
Definition at line 107 of file ESProducerExternalWork.h.
Referenced by edmtest::AcquireIntESProducer::AcquireIntESProducer().
110 using AcquireTypes = eventsetup::impl::ReturnArgumentTypes<TAcquireFunc>;
111 using TRecord =
typename AcquireTypes::argument_type;
112 using TAcquireReturn =
typename AcquireTypes::return_type;
113 using TProduceReturn = std::invoke_result_t<TProduceFunc, TRecord const&, TAcquireReturn>;
114 using DecoratorType = eventsetup::CallbackSimpleDecorator<TRecord>;
116 return setWhatAcquiredProducedWithLambda<TAcquireReturn, TProduceReturn, TRecord>(
117 std::forward<TAcquireFunc>(acquireFunc), std::forward<TProduceFunc>(produceFunc), DecoratorType(), iLabel);