CMS 3D CMS Logo

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

#include "FWCore/Framework/src/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

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

Definition at line 39 of file ModuleHolder.h.

39  :
40  m_maker(iMaker){}
virtual edm::maker::ModuleHolder::~ModuleHolder ( )
inlinevirtual

Member Function Documentation

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

Definition at line 23 of file ModuleHolder.cc.

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

Referenced by ~ModuleHolder().

23  {
24  return m_maker->makeWorker(iActions,this);
25  }
std::unique_ptr< Worker > makeWorker(ExceptionToActionTable const *, maker::ModuleHolder const *) const
Definition: WorkerMaker.cc:118
virtual ModuleDescription const& edm::maker::ModuleHolder::moduleDescription ( ) const
pure virtual
virtual void edm::maker::ModuleHolder::preallocate ( PreallocationConfiguration const &  )
pure virtual

Implemented in edm::maker::ModuleHolderT< T >.

Referenced by ~ModuleHolder().

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

Implemented in edm::maker::ModuleHolderT< T >.

Referenced by ~ModuleHolder().

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

Implemented in edm::maker::ModuleHolderT< T >.

Referenced by ~ModuleHolder().

Member Data Documentation

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

Definition at line 52 of file ModuleHolder.h.

Referenced by makeWorker().