CMS 3D CMS Logo

moduleAbilities.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_one_moduleAbilities_h
2 #define FWCore_Framework_one_moduleAbilities_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : moduleAbilities
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Tue, 07 May 2013 19:38:53 GMT
19 //
20 
21 // system include files
22 
23 // user include files
25 
26 // forward declarations
27 
28 namespace edm {
29  namespace one {
30  struct SharedResources {
33  };
34 
35  struct WatchRuns {
38  };
39 
43  };
44 
45  template <typename... VArgs>
47  static constexpr bool value = CheckAbility<module::Abilities::kRunCache, VArgs...>::kHasIt or
51  };
52 
53  template <typename... VArgs>
55  static constexpr bool value = CheckAbility<module::Abilities::kLuminosityBlockCache, VArgs...>::kHasIt or
59  };
60 
61  //RunCache and LuminosityBlockCache do not require serializing their
62  // respective transitions
63  template <typename... VArgs>
65  static constexpr bool value = WantsGlobalRunTransitions<VArgs...>::value and
66  not CheckAbility<module::Abilities::kRunCache, VArgs...>::kHasIt;
67  };
68 
69  template <typename... VArgs>
71  static constexpr bool value = WantsGlobalLuminosityBlockTransitions<VArgs...>::value and
73  };
74  } // namespace one
75 } // namespace edm
76 
77 #endif
edm::one::SharedResources::kAbilities
static constexpr module::Abilities kAbilities
Definition: moduleAbilities.h:31
edm::module::Abilities::kRunCache
edm::one::SharedResources
Definition: moduleAbilities.h:30
edm::module::Abilities::kOneWatchLuminosityBlocks
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::one::SharedResources::Type
module::Empty Type
Definition: moduleAbilities.h:32
edm::one::WatchLuminosityBlocks
Definition: moduleAbilities.h:40
edm::CheckAbility
Definition: moduleAbilities.h:108
edm::one::WantsSerialGlobalRunTransitions
Definition: moduleAbilities.h:64
edm::one::WantsSerialGlobalLuminosityBlockTransitions::value
static constexpr bool value
Definition: moduleAbilities.h:71
edm::module::Abilities::kOneSharedResources
edm::one::WatchLuminosityBlocks::Type
module::Empty Type
Definition: moduleAbilities.h:42
edm::one::WantsGlobalLuminosityBlockTransitions
Definition: moduleAbilities.h:54
edm::module::Empty
Definition: moduleAbilities.h:32
edm::module::Abilities::kBeginRunProducer
edm::module::Abilities::kLuminosityBlockCache
edm::one::WatchRuns::kAbilities
static constexpr module::Abilities kAbilities
Definition: moduleAbilities.h:36
edm::module::Abilities::kOneWatchRuns
edm::module::Abilities::kEndRunProducer
edm::module::Abilities::kBeginLuminosityBlockProducer
edm::one::WatchRuns
Definition: moduleAbilities.h:35
value
Definition: value.py:1
edm::module::Abilities
Abilities
Definition: moduleAbilityEnums.h:30
edm::one::WantsGlobalRunTransitions
Definition: moduleAbilities.h:46
edm::one::WantsSerialGlobalLuminosityBlockTransitions
Definition: moduleAbilities.h:70
moduleAbilities.h
or
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
edm::one::WatchRuns::Type
module::Empty Type
Definition: moduleAbilities.h:37
edm::module::Abilities::kEndLuminosityBlockProducer
edm::one::WantsSerialGlobalRunTransitions::value
static constexpr bool value
Definition: moduleAbilities.h:65
edm::one::WatchLuminosityBlocks::kAbilities
static constexpr module::Abilities kAbilities
Definition: moduleAbilities.h:41