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 ()
 
template<typename Product >
auto consumes ()
 
template<typename Product >
auto consumes (ESInputTag const &tag)
 
ESConsumesCollectorWithTagAdaptor consumes (ESInputTag 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
ESConsumesCollectorAdaptor consumes ()
 
ESConsumesCollectorWithTagAdaptor consumes (ESInputTag tag)
 
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
 

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 125 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 164 of file ESConsumesCollector.h.

165  : ESConsumesCollector(iConsumer, iTransitionID) {}

Member Function Documentation

◆ consumes() [1/4]

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

Definition at line 200 of file ESConsumesCollector.h.

200 { return ESConsumesCollectorAdaptor(this); }

◆ consumes() [2/4]

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

Definition at line 142 of file ESConsumesCollector.h.

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

◆ consumes() [3/4]

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

Definition at line 137 of file ESConsumesCollector.h.

137  {
138  return consumesFrom<Product, RECORD>(tag);
139  }

References GlobalPosition_Frontier_DevDB_cff::tag.

◆ consumes() [4/4]

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

Definition at line 201 of file ESConsumesCollector.h.

201  {
202  return ESConsumesCollectorWithTagAdaptor(this, std::move(tag));
203  }

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

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

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

155  {
156  token = mayConsumeFrom<Product, FromRecord>(std::forward<Func>(func), productTag);
157  return *this;
158  }

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

Friends And Related Function Documentation

◆ ESProducer

template<typename RECORD>
friend class ESProducer
friend

Definition at line 162 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
eostools.move
def move(src, dest)
Definition: eostools.py:511
edm::ESConsumesCollector::ESConsumesCollector
ESConsumesCollector()=delete
unpackBuffers-CaloStage2.token
token
Definition: unpackBuffers-CaloStage2.py:316