Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:05

0001 //
0002 //  ProductPutterBase.h
0003 //  CMSSW
0004 //
0005 //  Created by Chris Jones on 3/18/21.
0006 //
0007 
0008 #ifndef FWCore_Framework_ProductPutterBase_h
0009 #define FWCore_Framework_ProductPutterBase_h
0010 
0011 #include <memory>
0012 
0013 namespace edm {
0014   class WrapperBase;
0015 
0016   class ProductPutterBase {
0017   public:
0018     ProductPutterBase() = default;
0019     virtual ~ProductPutterBase() = default;
0020 
0021     // Puts the product into the ProductResolver.
0022     virtual void putProduct(std::unique_ptr<WrapperBase> edp) const = 0;
0023   };
0024 }  // namespace edm
0025 
0026 #endif /* ProductPutterBase_h */