CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions

edm::EDProductGetter Class Reference

#include <EDProductGetter.h>

Inheritance diagram for edm::EDProductGetter:
BareRootProductGetter edm::Principal edm::StreamerInputSource::ProductGetter fwlite::internal::MultiProductGetter fwlite::internal::ProductGetter edm::EventPrincipal edm::LuminosityBlockPrincipal edm::RunPrincipal

List of all members.

Public Member Functions

 EDProductGetter ()
virtual WrapperHolder getIt (ProductID const &) const =0
virtual ~EDProductGetter ()

Static Public Member Functions

static void assignEDProductGetter (EDProductGetter const *&)
static EDProductGetter const * switchProductGetter (EDProductGetter const *)
 These can only be used internally by the framework.

Detailed Description

Definition at line 29 of file EDProductGetter.h.


Constructor & Destructor Documentation

EDProductGetter::EDProductGetter ( )

Definition at line 31 of file EDProductGetter.cc.

  {
  }
EDProductGetter::~EDProductGetter ( ) [virtual]

Definition at line 40 of file EDProductGetter.cc.

  {
  }

Member Function Documentation

void EDProductGetter::assignEDProductGetter ( EDProductGetter const *&  iGetter) [static]

Definition at line 88 of file EDProductGetter.cc.

References edm::s_productGetter.

  {    
    //std::cout <<"assign "<<s_productGetter<<std::endl;
    
    iGetter = s_productGetter;
  }
virtual WrapperHolder edm::EDProductGetter::getIt ( ProductID const &  ) const [pure virtual]
EDProductGetter const * EDProductGetter::switchProductGetter ( EDProductGetter const *  iNew) [static]

These can only be used internally by the framework.

Definition at line 80 of file EDProductGetter.cc.

References edm::s_productGetter.

Referenced by edm::setRefCoreStreamer(), and fwlite::setRefStreamer().

  {
    //std::cout <<"switch from "<<s_productGetter<<" to "<<iNew<<std::endl;
    EDProductGetter const* old = s_productGetter;
    s_productGetter = iNew;
    return old;
  }