CMS 3D CMS Logo

List of all members | Static Public Member Functions
edm::stream::CallInputProcessBlockImpl< T, bool, bool > Struct Template Reference

#include <callAbilities.h>

Static Public Member Functions

static void accessInputProcessBlock (edm::ProcessBlock const &processBlock, typename T::GlobalCache *iGC, typename impl::choose_unique_ptr< typename T::InputProcessBlockCache >::type &iCaches)
 
static void clearCaches (typename impl::choose_unique_ptr< typename T::InputProcessBlockCache >::type &iCaches)
 
static void selectInputProcessBlocks (typename impl::choose_unique_ptr< typename T::InputProcessBlockCache >::type &iCaches, ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase, EDConsumerBase const &edConsumerBase)
 
static void set (T *iProd, typename impl::choose_unique_ptr< typename T::InputProcessBlockCache >::type const *iCaches, unsigned int iStreamModule)
 

Detailed Description

template<typename T, bool, bool>
struct edm::stream::CallInputProcessBlockImpl< T, bool, bool >

Definition at line 75 of file callAbilities.h.

Member Function Documentation

◆ accessInputProcessBlock()

template<typename T , bool , bool >
static void edm::stream::CallInputProcessBlockImpl< T, bool, bool >::accessInputProcessBlock ( edm::ProcessBlock const &  processBlock,
typename T::GlobalCache *  iGC,
typename impl::choose_unique_ptr< typename T::InputProcessBlockCache >::type iCaches 
)
inlinestatic

Definition at line 94 of file callAbilities.h.

97  {
98  iCaches->accessInputProcessBlock(processBlock);
99  T::accessInputProcessBlock(processBlock, iGC);
100  }

Referenced by edm::stream::EDAnalyzerAdaptor< T >::doAccessInputProcessBlock(), and edm::stream::ProducingModuleAdaptor< T, M, B >::doAccessInputProcessBlock().

◆ clearCaches()

template<typename T , bool , bool >
static void edm::stream::CallInputProcessBlockImpl< T, bool, bool >::clearCaches ( typename impl::choose_unique_ptr< typename T::InputProcessBlockCache >::type iCaches)
inlinestatic

◆ selectInputProcessBlocks()

template<typename T , bool , bool >
static void edm::stream::CallInputProcessBlockImpl< T, bool, bool >::selectInputProcessBlocks ( typename impl::choose_unique_ptr< typename T::InputProcessBlockCache >::type iCaches,
ProductRegistry const &  productRegistry,
ProcessBlockHelperBase const &  processBlockHelperBase,
EDConsumerBase const &  edConsumerBase 
)
inlinestatic

Definition at line 86 of file callAbilities.h.

90  {
91  iCaches->selectInputProcessBlocks(productRegistry, processBlockHelperBase, edConsumerBase);
92  }

Referenced by edm::stream::EDAnalyzerAdaptor< T >::selectInputProcessBlocks(), and edm::stream::ProducingModuleAdaptor< T, M, B >::selectInputProcessBlocks().

◆ set()

template<typename T , bool , bool >
static void edm::stream::CallInputProcessBlockImpl< T, bool, bool >::set ( T iProd,
typename impl::choose_unique_ptr< typename T::InputProcessBlockCache >::type const *  iCaches,
unsigned int  iStreamModule 
)
inlinestatic

Definition at line 76 of file callAbilities.h.

78  {
79  iProd->setProcessBlockCache(iCaches->get());
80  if (iStreamModule == 0 && iProd->cacheFillersRegistered()) {
81  (*iCaches)->moveProcessBlockCacheFiller(iProd->tokenInfos(), iProd->cacheFillers());
82  }
83  iProd->clearRegistration();
84  }

Referenced by edm::stream::EDAnalyzerAdaptor< T >::setupStreamModules(), and edm::stream::ProducingModuleAdaptor< T, M, B >::setupStreamModules().