Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
FWCore
Framework
interface
ESSourceDataProxyNonConcurrentBase.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_ESSourceDataProxyNonConcurrentBase_h
2
#define FWCore_Framework_ESSourceDataProxyNonConcurrentBase_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Framework
6
// Class : ESSourceDataProxyNonConcurrentBase
7
//
21
//
22
// Original Author: Chris Jones
23
// Created: 14/05/2020
24
//
25
26
// system include files
27
#include <mutex>
28
29
// user include files
30
#include "
FWCore/Framework/interface/ESSourceDataProxyBase.h
"
31
#include "
FWCore/Concurrency/interface/SerialTaskQueue.h
"
32
33
// forward declarations
34
35
namespace
edm::eventsetup {
36
class
ESSourceDataProxyNonConcurrentBase
:
public
ESSourceDataProxyBase
{
37
public
:
38
ESSourceDataProxyNonConcurrentBase
(
edm::SerialTaskQueue
* iQueue,
std::mutex
* iMutex)
39
:
m_queue
(iQueue),
m_mutex
(iMutex) {}
40
41
edm::SerialTaskQueue
*
queue
()
const
{
return
m_queue
; }
42
std::mutex
*
mutex
()
const
{
return
m_mutex
; }
43
44
private
:
45
void
prefetchAsyncImpl
(
edm::WaitingTaskHolder
iTask,
46
edm::eventsetup::EventSetupRecordImpl
const
& iES,
47
edm::eventsetup::DataKey
const
& iKey,
48
edm::EventSetupImpl
const
*,
49
edm::ServiceToken
const
&,
50
edm::ESParentContext
const
&) final;
51
52
// ---------- member data --------------------------------
53
54
edm::
SerialTaskQueue
*
m_queue
;
55
std::
mutex
*
m_mutex
;
56
};
57
}
// namespace edm::eventsetup
58
#endif
edm::eventsetup::ESSourceDataProxyNonConcurrentBase::queue
edm::SerialTaskQueue * queue() const
Definition:
ESSourceDataProxyNonConcurrentBase.h:41
edm::EventSetupImpl
Definition:
EventSetupImpl.h:48
edm::eventsetup::ESSourceDataProxyNonConcurrentBase
Definition:
ESSourceDataProxyNonConcurrentBase.h:36
mutex
static std::mutex mutex
Definition:
Proxy.cc:8
edm::eventsetup::ESSourceDataProxyNonConcurrentBase::mutex
std::mutex * mutex() const
Definition:
ESSourceDataProxyNonConcurrentBase.h:42
edm::eventsetup::ESSourceDataProxyNonConcurrentBase::ESSourceDataProxyNonConcurrentBase
ESSourceDataProxyNonConcurrentBase(edm::SerialTaskQueue *iQueue, std::mutex *iMutex)
Definition:
ESSourceDataProxyNonConcurrentBase.h:38
edm::ESParentContext
Definition:
ESParentContext.h:21
ESSourceDataProxyBase.h
edm::eventsetup::ESSourceDataProxyNonConcurrentBase::m_mutex
std::mutex * m_mutex
Definition:
ESSourceDataProxyNonConcurrentBase.h:55
edm::SerialTaskQueue
Definition:
SerialTaskQueue.h:67
edm::eventsetup::ESSourceDataProxyNonConcurrentBase::m_queue
edm::SerialTaskQueue * m_queue
Definition:
ESSourceDataProxyNonConcurrentBase.h:54
edm::eventsetup::ESSourceDataProxyNonConcurrentBase::prefetchAsyncImpl
void prefetchAsyncImpl(edm::WaitingTaskHolder iTask, edm::eventsetup::EventSetupRecordImpl const &iES, edm::eventsetup::DataKey const &iKey, edm::EventSetupImpl const *, edm::ServiceToken const &, edm::ESParentContext const &) final
Definition:
ESSourceDataProxyNonConcurrentBase.cc:22
edm::eventsetup::ESSourceDataProxyBase
Definition:
ESSourceDataProxyBase.h:35
edm::eventsetup::EventSetupRecordImpl
Definition:
EventSetupRecordImpl.h:77
edm::ServiceToken
Definition:
ServiceToken.h:42
SerialTaskQueue.h
edm::eventsetup::DataKey
Definition:
DataKey.h:29
edm::WaitingTaskHolder
Definition:
WaitingTaskHolder.h:32
Generated for CMSSW Reference Manual by
1.8.5