CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
edm::UnscheduledConfigurator Class Reference

#include <UnscheduledConfigurator.h>

Public Member Functions

UnscheduledAuxiliary const * auxiliary () const
 
WorkerfindWorker (std::string const &iLabel) const
 
const UnscheduledConfiguratoroperator= (const UnscheduledConfigurator &)=delete
 
template<typename IT >
 UnscheduledConfigurator (IT iBegin, IT iEnd, UnscheduledAuxiliary const *iAux)
 
 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.

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 )
delete

Member Function Documentation

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

Definition at line 45 of file UnscheduledConfigurator.h.

References m_labelToWorker.

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

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

Member Data Documentation

UnscheduledAuxiliary const* edm::UnscheduledConfigurator::m_aux
private

Definition at line 58 of file UnscheduledConfigurator.h.

Referenced by auxiliary().

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

Definition at line 57 of file UnscheduledConfigurator.h.

Referenced by findWorker(), and UnscheduledConfigurator().