FWCore
Framework
interface
ESSourceDataProxyTemplate.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_ESSourceDataProxyTemplate_h
2
#define FWCore_Framework_ESSourceDataProxyTemplate_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Framework
6
// Class : ESSourceDataProxyTemplate
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/ESSourceDataProxyBase.h
"
31
32
// forward declarations
33
34
namespace
edm::eventsetup
{
35
template
<
typename
DataT>
36
class
ESSourceDataProxyTemplate
:
public
ESSourceDataProxyBase
{
37
public
:
38
ESSourceDataProxyTemplate
(
edm::SerialTaskQueue
* iQueue,
std::mutex
* iMutex)
39
:
ESSourceDataProxyBase
(iQueue, iMutex) {}
40
41
// ---------- const member functions ---------------------
42
43
// ---------- static member functions --------------------
44
45
// ---------- member functions ---------------------------
46
protected
:
52
virtual
DataT
const
*
fetch
()
const
= 0;
53
54
private
:
55
void
const
*
getAfterPrefetchImpl
()
const
final {
return
fetch
(); }
56
57
ESSourceDataProxyTemplate
(
const
ESSourceDataProxyTemplate
&) =
delete
;
58
59
const
ESSourceDataProxyTemplate
&
operator=
(
const
ESSourceDataProxyTemplate
&) =
delete
;
60
};
61
}
// namespace edm::eventsetup
62
63
#endif
edm::eventsetup::ESSourceDataProxyTemplate::getAfterPrefetchImpl
void const * getAfterPrefetchImpl() const final
Definition:
ESSourceDataProxyTemplate.h:55
edm::SerialTaskQueue
Definition:
SerialTaskQueue.h:67
watchdog.const
const
Definition:
watchdog.py:83
edm::eventsetup::ESSourceDataProxyBase
Definition:
ESSourceDataProxyBase.h:39
ESSourceDataProxyBase.h
edm::eventsetup::ESSourceDataProxyTemplate
Definition:
ESSourceDataProxyTemplate.h:36
mutex
static std::mutex mutex
Definition:
Proxy.cc:8
edm::eventsetup::ESSourceDataProxyTemplate::fetch
virtual DataT const * fetch() const =0
edm::eventsetup::ESSourceDataProxyTemplate::operator=
const ESSourceDataProxyTemplate & operator=(const ESSourceDataProxyTemplate &)=delete
edm::eventsetup::ESSourceDataProxyTemplate::ESSourceDataProxyTemplate
ESSourceDataProxyTemplate(edm::SerialTaskQueue *iQueue, std::mutex *iMutex)
Definition:
ESSourceDataProxyTemplate.h:38
edm::eventsetup
Definition:
ES_DDDetector.cc:16
Generated for CMSSW Reference Manual by
1.8.16