FWCore
Framework
src
SignallingProductRegistry.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_SignallingProductRegistry_h
2
#define FWCore_Framework_SignallingProductRegistry_h
3
// -*- C++ -*-
4
//
5
// Package: Framework
6
// Class : SignallingProductRegistry
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Fri Sep 23 16:47:10 CEST 2005
19
//
20
21
// system include files
22
#include <map>
23
#include <string>
24
25
#include "
FWCore/Utilities/interface/Signal.h
"
26
27
// user include files
28
#include "
DataFormats/Provenance/interface/ProductRegistry.h
"
29
30
// forward declarations
31
namespace
edm
{
32
class
SignallingProductRegistry
:
public
ProductRegistry
{
33
public
:
34
SignallingProductRegistry
() :
ProductRegistry
(),
productAddedSignal_
(),
typeAddedStack_
() {}
35
explicit
SignallingProductRegistry
(
ProductRegistry
const
& preg)
36
:
ProductRegistry
(preg.
productList
(),
false
),
productAddedSignal_
(),
typeAddedStack_
() {}
37
signalslot::Signal
<
void
(
BranchDescription
const
&)>
productAddedSignal_
;
38
39
SignallingProductRegistry
(
SignallingProductRegistry
const
&) =
delete
;
// Disallow copying and moving
40
SignallingProductRegistry
&
operator=
(
SignallingProductRegistry
const
&) =
delete
;
// Disallow copying and moving
41
42
private
:
43
void
addCalled
(
BranchDescription
const
&,
bool
)
override
;
44
// ---------- member data --------------------------------
45
std::map<std::string, unsigned int>
typeAddedStack_
;
46
};
47
}
// namespace edm
48
49
#endif
edm::SignallingProductRegistry::typeAddedStack_
std::map< std::string, unsigned int > typeAddedStack_
Definition:
SignallingProductRegistry.h:45
edm::SignallingProductRegistry::productAddedSignal_
signalslot::Signal< void(BranchDescription const &)> productAddedSignal_
Definition:
SignallingProductRegistry.h:37
funct::false
false
Definition:
Factorize.h:29
edm
HLT enums.
Definition:
AlignableModifier.h:19
ProductRegistry.h
edm::ProductRegistry
Definition:
ProductRegistry.h:37
edm::SignallingProductRegistry::SignallingProductRegistry
SignallingProductRegistry()
Definition:
SignallingProductRegistry.h:34
edm::SignallingProductRegistry::operator=
SignallingProductRegistry & operator=(SignallingProductRegistry const &)=delete
Signal.h
edm::ProductRegistry::productList
ProductList const & productList() const
Definition:
ProductRegistry.h:76
edm::SignallingProductRegistry::addCalled
void addCalled(BranchDescription const &, bool) override
Definition:
SignallingProductRegistry.cc:45
funct::void
TEMPL(T2) struct Divides void
Definition:
Factorize.h:24
edm::BranchDescription
Definition:
BranchDescription.h:32
edm::signalslot::Signal
Definition:
DelayedReader.h:26
edm::SignallingProductRegistry::SignallingProductRegistry
SignallingProductRegistry(ProductRegistry const &preg)
Definition:
SignallingProductRegistry.h:35
edm::SignallingProductRegistry
Definition:
SignallingProductRegistry.h:32
Generated for CMSSW Reference Manual by
1.8.16