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

template<typename Product >
auto consumes ()
 
template<typename Product >
auto consumes (ESInputTag const &tag)
 
 ESConsumesCollectorT ()=delete
 
 ESConsumesCollectorT (ESConsumesCollectorT< RECORD > &&)=default
 
 ESConsumesCollectorT (ESConsumesCollectorT< RECORD > const &)=default
 
template<typename Product , typename FromRecord , typename Func , typename PTag >
auto mayConsumeFrom (Func &&func, PTag const &productTag)
 
ESConsumesCollectorT< RECORD > & operator= (ESConsumesCollectorT< RECORD > &&)=default
 
ESConsumesCollectorT< RECORD > & operator= (ESConsumesCollectorT< RECORD > const &)=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
template<typename Product , typename Record >
auto consumesFrom ()
 
template<typename Product , typename Record >
auto consumesFrom (ESInputTag const &tag)
 
 ESConsumesCollector ()=delete
 
 ESConsumesCollector (ESConsumesCollector &&)=default
 
 ESConsumesCollector (ESConsumesCollector const &)=delete
 
ESConsumesCollectoroperator= (ESConsumesCollector &&)=default
 
ESConsumesCollectoroperator= (ESConsumesCollector const &)=delete
 
template<typename Product , typename Record >
ESConsumesCollectorsetConsumes (ESGetToken< Product, Record > &token)
 
template<typename Product , typename Record >
ESConsumesCollectorsetConsumes (ESGetToken< Product, Record > &token, ESInputTag const &tag)
 

Private Member Functions

 ESConsumesCollectorT (ESConsumesInfo *const iConsumer, unsigned int iTransitionID)
 

Friends

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 131 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 169 of file ESConsumesCollector.h.

170  : ESConsumesCollector(iConsumer, iTransitionID) {}

Member Function Documentation

◆ consumes() [1/2]

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

Definition at line 147 of file ESConsumesCollector.h.

147  {
148  return consumesFrom<Product, RECORD>();
149  }

◆ consumes() [2/2]

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

Definition at line 142 of file ESConsumesCollector.h.

142  {
143  return consumesFrom<Product, RECORD>(tag);
144  }

References GlobalPosition_Frontier_DevDB_cff::tag.

◆ 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 152 of file ESConsumesCollector.h.

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

References TrackCollections2monitor_cff::func.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

template<typename RECORD>
ESConsumesCollectorT<RECORD>& edm::ESConsumesCollectorT< RECORD >::operator= ( ESConsumesCollectorT< RECORD > const &  )
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 160 of file ESConsumesCollector.h.

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

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

Friends And Related Function Documentation

◆ ESProducer

template<typename RECORD>
friend class ESProducer
friend

Definition at line 167 of file ESConsumesCollector.h.

GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
TrackCollections2monitor_cff.func
func
Definition: TrackCollections2monitor_cff.py:359
edm::ESConsumesCollector::ESConsumesCollector
ESConsumesCollector()=delete
unpackBuffers-CaloStage2.token
token
Definition: unpackBuffers-CaloStage2.py:316