src
FWCore
Framework
interface
ESSourceProductResolverTemplate.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_ESSourceProductResolverTemplate_h
2
#define FWCore_Framework_ESSourceProductResolverTemplate_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Framework
6
// Class : ESSourceProductResolverTemplate
7
//
22
//
23
// Original Author: Chris Jones
24
// Created: 14/05/2020
25
//
26
27
// system include files
28
29
// user include files
30
#include "
FWCore/Framework/interface/ESSourceProductResolverNonConcurrentBase.h
"
31
32
// forward declarations
33
34
namespace
edm::eventsetup
{
35
template
<
typename
DataT>
36
class
ESSourceProductResolverTemplate
:
public
ESSourceProductResolverNonConcurrentBase
{
37
public
:
38
ESSourceProductResolverTemplate
(
edm::SerialTaskQueue
* iQueue,
std::mutex
* iMutex)
39
:
ESSourceProductResolverNonConcurrentBase
(iQueue, iMutex) {}
40
41
ESSourceProductResolverTemplate
(
const
ESSourceProductResolverTemplate
&) =
delete
;
42
const
ESSourceProductResolverTemplate
&
operator=
(
const
ESSourceProductResolverTemplate
&) =
delete
;
43
44
// ---------- const member functions ---------------------
45
46
// ---------- static member functions --------------------
47
48
// ---------- member functions ---------------------------
49
protected
:
55
virtual
DataT
const
*
fetch
()
const
= 0;
56
57
private
:
58
void
const
*
getAfterPrefetchImpl
()
const
final {
return
fetch
(); }
59
};
60
}
// namespace edm::eventsetup
61
62
#endif
runTheMatrix.const
const
Definition:
runTheMatrix.py:376
mutex
static std::mutex mutex
Definition:
Proxy.cc:8
edm::eventsetup::ESSourceProductResolverTemplate::ESSourceProductResolverTemplate
ESSourceProductResolverTemplate(edm::SerialTaskQueue *iQueue, std::mutex *iMutex)
Definition:
ESSourceProductResolverTemplate.h:38
edm::SerialTaskQueue
Definition:
SerialTaskQueue.h:67
edm::eventsetup::ESSourceProductResolverTemplate
Definition:
ESSourceProductResolverTemplate.h:36
edm::eventsetup::ESSourceProductResolverTemplate::fetch
virtual DataT const * fetch() const =0
ESSourceProductResolverNonConcurrentBase.h
edm::eventsetup::ESSourceProductResolverNonConcurrentBase
Definition:
ESSourceProductResolverNonConcurrentBase.h:36
edm::eventsetup::ESSourceProductResolverTemplate::operator=
const ESSourceProductResolverTemplate & operator=(const ESSourceProductResolverTemplate &)=delete
edm::eventsetup::ESSourceProductResolverTemplate::getAfterPrefetchImpl
void const * getAfterPrefetchImpl() const final
Definition:
ESSourceProductResolverTemplate.h:58
edm::eventsetup
Definition:
ES_DDDetector.cc:16
Generated for CMSSW Reference Manual by
1.8.14