CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
< OutputModuleCommunicator
createOutputModuleCommunicator ()=0
 
std::unique_ptr< WorkermakeWorker (ExceptionToActionTable const *actions) const
 
virtual ModuleDescription const & moduleDescription () const =0
 
 ModuleHolder (void *iModule, 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
 
void * m_mod
 

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 ( void *  iModule,
Maker const *  iMaker 
)
inline

Definition at line 39 of file ModuleHolder.h.

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

Definition at line 41 of file ModuleHolder.h.

41 {}

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().

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

Member Data Documentation

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

Definition at line 53 of file ModuleHolder.h.

Referenced by makeWorker().

void* edm::maker::ModuleHolder::m_mod
protected