CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
edm::maker::ModuleHolder Class Referenceabstract

#include "FWCore/Framework/interface/maker/ModuleHolder.h"

Inheritance diagram for edm::maker::ModuleHolder:
edm::maker::ModuleHolderT< T >

Public Member Functions

virtual std::unique_ptr< OutputModuleCommunicatorcreateOutputModuleCommunicator ()=0
 
std::unique_ptr< WorkermakeWorker (ExceptionToActionTable const *actions) const
 
virtual ModuleDescription const & moduleDescription () const =0
 
 ModuleHolder (Maker const *iMaker)
 
virtual void preallocate (PreallocationConfiguration const &)=0
 
virtual void registerProductsAndCallbacks (ProductRegistry *)=0
 
virtual void replaceModuleFor (Worker *) const =0
 
virtual void setModuleDescription (ModuleDescription const &iDesc)=0
 
virtual ~ModuleHolder ()
 

Protected Attributes

Maker const * m_maker
 

Detailed Description

Description: Base class used to own a module for the framework

Usage: <usage>

Definition at line 37 of file ModuleHolder.h.

Constructor & Destructor Documentation

◆ ModuleHolder()

edm::maker::ModuleHolder::ModuleHolder ( Maker const *  iMaker)
inline

Definition at line 39 of file ModuleHolder.h.

39 : m_maker(iMaker) {}

◆ ~ModuleHolder()

virtual edm::maker::ModuleHolder::~ModuleHolder ( )
inlinevirtual

Definition at line 40 of file ModuleHolder.h.

40 {}

Member Function Documentation

◆ createOutputModuleCommunicator()

virtual std::unique_ptr<OutputModuleCommunicator> edm::maker::ModuleHolder::createOutputModuleCommunicator ( )
pure virtual

◆ makeWorker()

std::unique_ptr< Worker > edm::maker::ModuleHolder::makeWorker ( ExceptionToActionTable const *  actions) const

Definition at line 21 of file ModuleHolder.cc.

References m_maker, and edm::Maker::makeWorker().

21  {
22  return m_maker->makeWorker(iActions, this);
23  }
std::unique_ptr< Worker > makeWorker(ExceptionToActionTable const *, maker::ModuleHolder const *) const
Definition: WorkerMaker.cc:110

◆ moduleDescription()

virtual ModuleDescription const& edm::maker::ModuleHolder::moduleDescription ( ) const
pure virtual

◆ preallocate()

virtual void edm::maker::ModuleHolder::preallocate ( PreallocationConfiguration const &  )
pure virtual

◆ registerProductsAndCallbacks()

virtual void edm::maker::ModuleHolder::registerProductsAndCallbacks ( ProductRegistry )
pure virtual

◆ replaceModuleFor()

virtual void edm::maker::ModuleHolder::replaceModuleFor ( Worker ) const
pure virtual

◆ setModuleDescription()

virtual void edm::maker::ModuleHolder::setModuleDescription ( ModuleDescription const &  iDesc)
pure virtual

Member Data Documentation

◆ m_maker

Maker const* edm::maker::ModuleHolder::m_maker
protected

Definition at line 52 of file ModuleHolder.h.

Referenced by makeWorker().