AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

AbilityToImplementor

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
#ifndef FWCore_Framework_stream_AbilityToImplementor_h
#define FWCore_Framework_stream_AbilityToImplementor_h
// -*- C++ -*-
//
// Package:     FWCore/Framework
// File  :     AbilityToImplementor
//
/**\class  edm::stream::AbilityToImplementor producerAbilityToImplementor.h "FWCore/Framework/interface/stream/AbilityToImplementor.h"

 Description: Class used to pair a module Ability to the actual base class used to implement that ability

 Usage:
    <usage>

*/
//
// Original Author:  Chris Jones
//         Created:  Thu, 18 Jul 2013 11:51:33 GMT
//

// system include files

// user include files
#include "FWCore/Framework/interface/moduleAbilities.h"
#include "FWCore/Framework/interface/stream/moduleAbilities.h"
#include "FWCore/Framework/interface/stream/implementors.h"

// forward declarations
namespace edm {
  namespace stream {
    template <typename T>
    struct AbilityToImplementor;

    template <typename C>
    struct AbilityToImplementor<edm::GlobalCache<C>> {
      using Type = edm::stream::impl::GlobalCacheHolder<C>;
    };

    template <typename... CacheTypes>
    struct AbilityToImplementor<edm::InputProcessBlockCache<CacheTypes...>> {
      using Type = edm::stream::impl::InputProcessBlockCacheHolder<CacheTypes...>;
    };

    template <typename C>
    struct AbilityToImplementor<edm::RunCache<C>> {
      using Type = edm::stream::impl::RunCacheHolder<C>;
    };

    template <typename C>
    struct AbilityToImplementor<edm::RunSummaryCache<C>> {
      using Type = edm::stream::impl::RunSummaryCacheHolder<C>;
    };

    template <typename C>
    struct AbilityToImplementor<edm::LuminosityBlockCache<C>> {
      using Type = edm::stream::impl::LuminosityBlockCacheHolder<C>;
    };

    template <typename C>
    struct AbilityToImplementor<edm::LuminosityBlockSummaryCache<C>> {
      using Type = edm::stream::impl::LuminosityBlockSummaryCacheHolder<C>;
    };

    template <>
    struct AbilityToImplementor<edm::WatchProcessBlock> {
      using Type = edm::stream::impl::WatchProcessBlock;
    };

    template <>
    struct AbilityToImplementor<edm::BeginProcessBlockProducer> {
      using Type = edm::stream::impl::BeginProcessBlockProducer;
    };

    template <>
    struct AbilityToImplementor<edm::EndProcessBlockProducer> {
      using Type = edm::stream::impl::EndProcessBlockProducer;
    };

    template <>
    struct AbilityToImplementor<edm::BeginRunProducer> {
      using Type = edm::stream::impl::BeginRunProducer;
    };

    template <>
    struct AbilityToImplementor<edm::EndRunProducer> {
      using Type = edm::stream::impl::EndRunProducer;
    };

    template <>
    struct AbilityToImplementor<edm::BeginLuminosityBlockProducer> {
      using Type = edm::stream::impl::BeginLuminosityBlockProducer;
    };

    template <>
    struct AbilityToImplementor<edm::EndLuminosityBlockProducer> {
      using Type = edm::stream::impl::EndLuminosityBlockProducer;
    };

    template <>
    struct AbilityToImplementor<edm::ExternalWork> {
      using Type = edm::stream::impl::ExternalWork;
    };

    // As currently implemented this ability only works
    // with EDProducer, not with EDAnalyzers or EDFilters!
    template <>
    struct AbilityToImplementor<edm::Transformer> {
      using Type = edm::stream::impl::Transformer;
    };

    // As currently implemented this ability only works
    // with EDProducer, not with EDAnalyzers or EDFilters!
    template <>
    struct AbilityToImplementor<edm::Accumulator> {
      using Type = edm::stream::impl::Accumulator;
    };

    template <>
    struct AbilityToImplementor<edm::stream::WatchRuns> {
      using Type = edm::stream::impl::WatchRuns;
    };

    template <>
    struct AbilityToImplementor<edm::stream::WatchLuminosityBlocks> {
      using Type = edm::stream::impl::WatchLuminosityBlocks;
    };

  }  // namespace stream
}  // namespace edm

#endif