Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
Framework
interface
DelayedReader.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_DelayedReader_h
2
#define FWCore_Framework_DelayedReader_h
3
4
/*----------------------------------------------------------------------
5
6
DelayedReader: The abstract interface through which the Principal
7
uses input sources to retrieve EDProducts from external storage.
8
9
----------------------------------------------------------------------*/
10
11
#include "
DataFormats/Common/interface/WrapperOwningHolder.h
"
12
13
#include <memory>
14
15
namespace
edm {
16
class
BranchKey;
17
class
EDProductGetter
;
18
class
WrapperInterfaceBase;
19
class
SharedResourcesAcquirer
;
20
class
DelayedReader
{
21
public
:
22
virtual
~DelayedReader
();
23
WrapperOwningHolder
getProduct
(
BranchKey
const
&
k
,
WrapperInterfaceBase
const
* interface,
EDProductGetter
const
* ep);
24
25
void
mergeReaders
(
DelayedReader
* other) {
mergeReaders_
(other);}
26
void
reset
() {
reset_
();}
27
28
SharedResourcesAcquirer
*
sharedResources
()
const
{
29
return
sharedResources_
();
30
}
31
32
33
34
private
:
35
virtual
WrapperOwningHolder
getProduct_
(
BranchKey
const
& k,
36
WrapperInterfaceBase
const
* interface,
37
EDProductGetter
const
* ep)
const
= 0;
38
virtual
void
mergeReaders_
(
DelayedReader
*) = 0;
39
virtual
void
reset_
() = 0;
40
virtual
SharedResourcesAcquirer
*
sharedResources_
()
const
;
41
};
42
}
43
44
#endif
edm::EDProductGetter
Definition:
EDProductGetter.h:29
edm::DelayedReader::getProduct
WrapperOwningHolder getProduct(BranchKey const &k, WrapperInterfaceBase const *interface, EDProductGetter const *ep)
Definition:
DelayedReader.cc:16
SharedResourcesAcquirer
edm::DelayedReader::mergeReaders
void mergeReaders(DelayedReader *other)
Definition:
DelayedReader.h:25
edm::DelayedReader::reset
void reset()
Definition:
DelayedReader.h:26
edm::DelayedReader::~DelayedReader
virtual ~DelayedReader()
Definition:
DelayedReader.cc:13
edm::DelayedReader
Definition:
DelayedReader.h:20
edm::DelayedReader::mergeReaders_
virtual void mergeReaders_(DelayedReader *)=0
WrapperOwningHolder.h
edm::DelayedReader::getProduct_
virtual WrapperOwningHolder getProduct_(BranchKey const &k, WrapperInterfaceBase const *interface, EDProductGetter const *ep) const =0
EDProductGetter
gen::k
int k[5][pyjets_maxn]
Definition:
Cascade2Hadronizer.cc:79
edm::DelayedReader::sharedResources_
virtual SharedResourcesAcquirer * sharedResources_() const
Definition:
DelayedReader.cc:26
edm::WrapperInterfaceBase
Definition:
WrapperInterfaceBase.h:20
edm::DelayedReader::sharedResources
SharedResourcesAcquirer * sharedResources() const
Definition:
DelayedReader.h:28
edm::BranchKey
Definition:
BranchKey.h:17
edm::SharedResourcesAcquirer
Definition:
SharedResourcesAcquirer.h:31
edm::WrapperOwningHolder
Definition:
WrapperOwningHolder.h:13
edm::DelayedReader::reset_
virtual void reset_()=0
Generated for CMSSW Reference Manual by
1.8.5