Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-01-11 03:38:17

0001 #ifndef FWCore_Framework_stream_ProducingModuleHelper_h
0002 #define FWCore_Framework_stream_ProducingModuleHelper_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     FWCore/Framework
0006 //
0007 // Original Author:  W. David Dagenhart
0008 //         Created:  1 December 2017
0009 
0010 namespace edm {
0011 
0012   class Event;
0013   class EventSetup;
0014   class WaitingTaskHolder;
0015 
0016   namespace stream {
0017 
0018     namespace impl {
0019       class ExternalWork;
0020     }
0021 
0022     // Two overloaded functions, the first is called by doAcquire_
0023     // when the module inherits from ExternalWork. The first function
0024     // calls acquire, while the second function does nothing.
0025     void doAcquireIfNeeded(impl::ExternalWork*, Event const&, EventSetup const&, WaitingTaskHolder&&);
0026 
0027     void doAcquireIfNeeded(void*, Event const&, EventSetup const&, WaitingTaskHolder&&);
0028   }  // namespace stream
0029 }  // namespace edm
0030 #endif