CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Friends
edm::ESConsumesCollectorT< RECORD > Class Template Reference

#include <ESConsumesCollector.h>

Inheritance diagram for edm::ESConsumesCollectorT< RECORD >:
edm::ESConsumesCollector

Public Member Functions

ESConsumesCollectorAdaptor consumes ()
 
ESConsumesCollectorWithTagAdaptor consumes (ESInputTag tag)
 
template<typename Product >
auto consumes (ESInputTag const &tag)
 
template<typename Product >
auto consumes ()
 
 ESConsumesCollectorT ()=delete
 
 ESConsumesCollectorT (ESConsumesCollectorT< RECORD > const &)=default
 
 ESConsumesCollectorT (ESConsumesCollectorT< RECORD > &&)=default
 
template<typename Product , typename FromRecord , typename Func , typename PTag >
auto mayConsumeFrom (Func &&func, PTag const &productTag)
 
ESConsumesCollectorT< RECORD > & operator= (ESConsumesCollectorT< RECORD > const &)=default
 
ESConsumesCollectorT< RECORD > & operator= (ESConsumesCollectorT< RECORD > &&)=default
 
template<typename Product , typename FromRecord , typename Func , typename PTag >
ESConsumesCollectorsetMayConsume (ESGetToken< Product, FromRecord > &token, Func &&func, PTag const &productTag)
 
- Public Member Functions inherited from edm::ESConsumesCollector
ESConsumesCollectorAdaptor consumes ()
 
ESConsumesCollectorWithTagAdaptor consumes (ESInputTag tag)
 
template<typename Product , typename Record >
auto consumesFrom (ESInputTag const &tag)
 
template<typename Product , typename Record >
auto consumesFrom ()
 
 ESConsumesCollector ()=delete
 
 ESConsumesCollector (ESConsumesCollector const &)=delete
 
 ESConsumesCollector (ESConsumesCollector &&)=default
 
ESConsumesCollectoroperator= (ESConsumesCollector const &)=delete
 
ESConsumesCollectoroperator= (ESConsumesCollector &&)=default
 

Private Member Functions

 ESConsumesCollectorT (ESConsumesInfo *const iConsumer, unsigned int iTransitionID)
 

Friends

class ::testEventsetupRecord
 
class ESProducer
 

Additional Inherited Members

- Protected Member Functions inherited from edm::ESConsumesCollector
 ESConsumesCollector (ESConsumesInfo *const iConsumer, unsigned int iTransitionID)
 
template<typename Product , typename Record , typename Collector , typename PTag >
auto registerMayConsume (std::unique_ptr< Collector > iCollector, PTag const &productTag)
 

Detailed Description

template<typename RECORD>
class edm::ESConsumesCollectorT< RECORD >

Definition at line 128 of file ESConsumesCollector.h.

Constructor & Destructor Documentation

◆ ESConsumesCollectorT() [1/4]

template<typename RECORD>
edm::ESConsumesCollectorT< RECORD >::ESConsumesCollectorT ( )
delete

◆ ESConsumesCollectorT() [2/4]

template<typename RECORD>
edm::ESConsumesCollectorT< RECORD >::ESConsumesCollectorT ( ESConsumesCollectorT< RECORD > const &  )
default

◆ ESConsumesCollectorT() [3/4]

template<typename RECORD>
edm::ESConsumesCollectorT< RECORD >::ESConsumesCollectorT ( ESConsumesCollectorT< RECORD > &&  )
default

◆ ESConsumesCollectorT() [4/4]

template<typename RECORD>
edm::ESConsumesCollectorT< RECORD >::ESConsumesCollectorT ( ESConsumesInfo *const  iConsumer,
unsigned int  iTransitionID 
)
inlineexplicitprivate

Definition at line 168 of file ESConsumesCollector.h.

169  : ESConsumesCollector(iConsumer, iTransitionID) {}

Member Function Documentation

◆ consumes() [1/4]

template<typename RECORD>
ESConsumesCollectorAdaptor edm::ESConsumesCollector::consumes
inline

Definition at line 204 of file ESConsumesCollector.h.

204 { return ESConsumesCollectorAdaptor(this); }

◆ consumes() [2/4]

template<typename RECORD>
ESConsumesCollectorWithTagAdaptor edm::ESConsumesCollector::consumes
inline

Definition at line 205 of file ESConsumesCollector.h.

205  {
206  return ESConsumesCollectorWithTagAdaptor(this, std::move(tag));
207  }
def move(src, dest)
Definition: eostools.py:511

◆ consumes() [3/4]

template<typename RECORD>
template<typename Product >
auto edm::ESConsumesCollectorT< RECORD >::consumes ( ESInputTag const &  tag)
inline

Definition at line 140 of file ESConsumesCollector.h.

References makeGlobalPositionRcd_cfg::tag.

140  {
141  return consumesFrom<Product, RECORD>(tag);
142  }

◆ consumes() [4/4]

template<typename RECORD>
template<typename Product >
auto edm::ESConsumesCollectorT< RECORD >::consumes ( )
inline

Definition at line 145 of file ESConsumesCollector.h.

145  {
146  return consumesFrom<Product, RECORD>();
147  }

◆ mayConsumeFrom()

template<typename RECORD>
template<typename Product , typename FromRecord , typename Func , typename PTag >
auto edm::ESConsumesCollectorT< RECORD >::mayConsumeFrom ( Func &&  func,
PTag const &  productTag 
)
inline

Definition at line 150 of file ESConsumesCollector.h.

References EcalMonitorTask_cff::func.

150  {
151  return registerMayConsume<Product, FromRecord>(
152  std::make_unique<eventsetup::impl::MayConsumeChooser<RECORD, Product, FromRecord, Func, PTag>>(
153  std::forward<Func>(func)),
154  productTag);
155  }

◆ operator=() [1/2]

template<typename RECORD>
ESConsumesCollectorT<RECORD>& edm::ESConsumesCollectorT< RECORD >::operator= ( ESConsumesCollectorT< RECORD > const &  )
default

◆ operator=() [2/2]

template<typename RECORD>
ESConsumesCollectorT<RECORD>& edm::ESConsumesCollectorT< RECORD >::operator= ( ESConsumesCollectorT< RECORD > &&  )
default

◆ setMayConsume()

template<typename RECORD>
template<typename Product , typename FromRecord , typename Func , typename PTag >
ESConsumesCollector& edm::ESConsumesCollectorT< RECORD >::setMayConsume ( ESGetToken< Product, FromRecord > &  token,
Func &&  func,
PTag const &  productTag 
)
inline

Definition at line 158 of file ESConsumesCollector.h.

References EcalMonitorTask_cff::func, and unpackBuffers-CaloStage2::token.

158  {
159  token = mayConsumeFrom<Product, FromRecord>(std::forward<Func>(func), productTag);
160  return *this;
161  }

Friends And Related Function Documentation

◆ ::testEventsetupRecord

template<typename RECORD>
friend class ::testEventsetupRecord
friend

Definition at line 166 of file ESConsumesCollector.h.

◆ ESProducer

template<typename RECORD>
friend class ESProducer
friend

Definition at line 165 of file ESConsumesCollector.h.