CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ESSourceDataProxyTemplate Class Reference

#include "FWCore/Framework/interface/ESSourceDataProxyTemplate.h"

Detailed Description

Description: An ESSource specific DataProxy which is type safe.

Usage: Inherit from this class and override void prefetch(edm::eventsetup::DataKey const& iKey) and DataT const* fetch() const

prefetch is guaranteed to be called before fetch where fetch should return the value obtained during the call to prefetch. The inheriting class must maintain the lifetime of the object returned from fetch until invalidateCache() is called.