Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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 EventPrincipal
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
struct
BranchKey;
17
class
EDProductGetter
;
18
class
WrapperInterfaceBase;
19
class
DelayedReader
{
20
public
:
21
virtual
~DelayedReader
();
22
WrapperOwningHolder
getProduct
(
BranchKey
const
&
k
,
WrapperInterfaceBase
const
* interface,
EDProductGetter
const
* ep) {
23
return
getProduct_
(k, interface, ep);
24
}
25
void
mergeReaders
(
DelayedReader
* other) {
mergeReaders_
(other);}
26
void
reset
() {
reset_
();}
27
private
:
28
virtual
WrapperOwningHolder
getProduct_
(
BranchKey
const
&
k
,
WrapperInterfaceBase
const
* interface,
EDProductGetter
const
* ep)
const
= 0;
29
virtual
void
mergeReaders_
(
DelayedReader
*) = 0;
30
virtual
void
reset_
() = 0;
31
};
32
}
33
34
#endif
edm::EDProductGetter
Definition:
EDProductGetter.h:29
edm::DelayedReader::getProduct
WrapperOwningHolder getProduct(BranchKey const &k, WrapperInterfaceBase const *interface, EDProductGetter const *ep)
Definition:
DelayedReader.h:22
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:11
edm::BranchKey
Definition:
BranchKey.h:18
edm::DelayedReader
Definition:
DelayedReader.h:19
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:81
edm::WrapperInterfaceBase
Definition:
WrapperInterfaceBase.h:20
edm::WrapperOwningHolder
Definition:
WrapperOwningHolder.h:13
edm::DelayedReader::reset_
virtual void reset_()=0
Generated for CMSSW Reference Manual by
1.8.5