CMS 3D CMS Logo

ESSourceConcurrentDataProxyTemplate.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ESSourceConcurrentDataProxyTemplate_h
2 #define FWCore_Framework_ESSourceConcurrentDataProxyTemplate_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : ESSourceConcurrentDataProxyTemplate
7 //
22 //
23 // Original Author: Chris Jones
24 // Created: 17/12/2021
25 //
26 
27 // system include files
28 
29 // user include files
31 
32 // forward declarations
33 
34 namespace edm::eventsetup {
35  template <typename DataT>
37  public:
39 
42 
43  // ---------- const member functions ---------------------
44 
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48  protected:
54  virtual DataT const* fetch() const = 0;
55 
56  private:
57  void const* getAfterPrefetchImpl() const final { return fetch(); }
58  };
59 } // namespace edm::eventsetup
60 
61 #endif
const ESSourceConcurrentDataProxyTemplate & operator=(const ESSourceConcurrentDataProxyTemplate &)=delete