CMS 3D CMS Logo

ESPreFunctorDecorator Class Reference

#include <FWCore/Framework/interface/ESPreFunctorDecorator.h>

Detailed Description

Description: A Decorator that works as a adapter to call a Functor before each call to the decorated method

Usage: This Decorator can be used to create a decorator used in the ESProducer::setWhatProduced method. This Decorator will adapt a Functor (a class that implements 'operator()') st that it is called before every call made to the ESProducer's 'produce' method.