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 35 of file UnscheduledConfigurator.h.

References m_labelToWorker.

Referenced by auxiliary().

35  : m_aux(iAux) {
36  for (auto it = iBegin; it != iEnd; ++it) {
37  m_labelToWorker.emplace((*it)->description().moduleLabel(), *it);
38  }
39  }
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 42 of file UnscheduledConfigurator.h.

References m_labelToWorker.

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

42  {
43  auto itFound = m_labelToWorker.find(iLabel);
44  if (itFound != m_labelToWorker.end()) {
45  return itFound->second;
46  }
47  return nullptr;
48  }
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 59 of file UnscheduledConfigurator.h.

Referenced by auxiliary().

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

Definition at line 58 of file UnscheduledConfigurator.h.

Referenced by findWorker(), and UnscheduledConfigurator().