CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::UnscheduledConfigurator Class Reference

#include <UnscheduledConfigurator.h>

Public Member Functions

UnscheduledAuxiliary const * auxiliary () const
 
WorkerfindWorker (std::string const &iLabel) const
 
template<typename IT >
 UnscheduledConfigurator (IT iBegin, IT iEnd, UnscheduledAuxiliary const *iAux)
 

Private Member Functions

const UnscheduledConfiguratoroperator= (const UnscheduledConfigurator &)=delete
 
 UnscheduledConfigurator (const UnscheduledConfigurator &)=delete
 

Private Attributes

UnscheduledAuxiliary const * m_aux
 
std::unordered_map< std::string, Worker * > m_labelToWorker
 

Detailed Description

Definition at line 32 of file UnscheduledConfigurator.h.

Constructor & Destructor Documentation

template<typename IT >
edm::UnscheduledConfigurator::UnscheduledConfigurator ( IT  iBegin,
IT  iEnd,
UnscheduledAuxiliary const *  iAux 
)
inline

Definition at line 36 of file UnscheduledConfigurator.h.

References m_labelToWorker.

Referenced by auxiliary().

38  :
39  m_aux(iAux) {
40  for(auto it = iBegin; it != iEnd; ++it) {
41  m_labelToWorker.emplace((*it)->description().moduleLabel(),*it);
42  }
43  }
UnscheduledAuxiliary const * m_aux
std::unordered_map< std::string, Worker * > m_labelToWorker
edm::UnscheduledConfigurator::UnscheduledConfigurator ( const UnscheduledConfigurator )
privatedelete

Member Function Documentation

UnscheduledAuxiliary const* edm::UnscheduledConfigurator::auxiliary ( ) const
inline
Worker* edm::UnscheduledConfigurator::findWorker ( std::string const &  iLabel) const
inline

Definition at line 46 of file UnscheduledConfigurator.h.

References m_labelToWorker.

Referenced by edm::PuttableProductResolver::setupUnscheduled(), and edm::UnscheduledProductResolver::setupUnscheduled().

46  {
47  auto itFound = m_labelToWorker.find(iLabel);
48  if(itFound != m_labelToWorker.end()) {
49  return itFound->second;
50  }
51  return nullptr;
52  }
std::unordered_map< std::string, Worker * > m_labelToWorker
const UnscheduledConfigurator& edm::UnscheduledConfigurator::operator= ( const UnscheduledConfigurator )
privatedelete

Referenced by auxiliary().

Member Data Documentation

UnscheduledAuxiliary const* edm::UnscheduledConfigurator::m_aux
private

Definition at line 62 of file UnscheduledConfigurator.h.

Referenced by auxiliary().

std::unordered_map<std::string, Worker*> edm::UnscheduledConfigurator::m_labelToWorker
private

Definition at line 61 of file UnscheduledConfigurator.h.

Referenced by findWorker(), and UnscheduledConfigurator().