Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#ifndef FWCore_Framework_stream_ProducingModuleHelper_h
#define FWCore_Framework_stream_ProducingModuleHelper_h
// -*- C++ -*-
//
// Package:     FWCore/Framework
//
// Original Author:  W. David Dagenhart
//         Created:  1 December 2017

namespace edm {

  class Event;
  class EventSetup;
  class WaitingTaskHolder;

  namespace stream {

    namespace impl {
      class ExternalWork;
    }

    // Two overloaded functions, the first is called by doAcquire_
    // when the module inherits from ExternalWork. The first function
    // calls acquire, while the second function does nothing.
    void doAcquireIfNeeded(impl::ExternalWork*, Event const&, EventSetup const&, WaitingTaskHolder&&);

    void doAcquireIfNeeded(void*, Event const&, EventSetup const&, WaitingTaskHolder&&);
  }  // namespace stream
}  // namespace edm
#endif