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

◆ UnscheduledConfigurator() [1/2]

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

Definition at line 35 of file UnscheduledConfigurator.h.

35  : m_aux(iAux) {
36  for (auto it = iBegin; it != iEnd; ++it) {
37  m_labelToWorker.emplace((*it)->description().moduleLabel(), *it);
38  }
39  }

References m_labelToWorker.

◆ UnscheduledConfigurator() [2/2]

edm::UnscheduledConfigurator::UnscheduledConfigurator ( const UnscheduledConfigurator )
privatedelete

Member Function Documentation

◆ auxiliary()

UnscheduledAuxiliary const* edm::UnscheduledConfigurator::auxiliary ( ) const
inline

◆ findWorker()

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

Definition at line 42 of file UnscheduledConfigurator.h.

42  {
43  auto itFound = m_labelToWorker.find(iLabel);
44  if (itFound != m_labelToWorker.end()) {
45  return itFound->second;
46  }
47  return nullptr;
48  }

References m_labelToWorker.

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

◆ operator=()

const UnscheduledConfigurator& edm::UnscheduledConfigurator::operator= ( const UnscheduledConfigurator )
privatedelete

Member Data Documentation

◆ m_aux

UnscheduledAuxiliary const* edm::UnscheduledConfigurator::m_aux
private

Definition at line 59 of file UnscheduledConfigurator.h.

Referenced by auxiliary().

◆ m_labelToWorker

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

Definition at line 58 of file UnscheduledConfigurator.h.

Referenced by findWorker(), and UnscheduledConfigurator().

edm::UnscheduledConfigurator::m_labelToWorker
std::unordered_map< std::string, Worker * > m_labelToWorker
Definition: UnscheduledConfigurator.h:58
edm::UnscheduledConfigurator::m_aux
UnscheduledAuxiliary const * m_aux
Definition: UnscheduledConfigurator.h:59