1 #ifndef Framework_CallbackProxy_h 2 #define Framework_CallbackProxy_h 36 template<
class CallbackT,
class RecordT,
class DataT>
48 iCallback->holdOntoPointer(&
data_);
52 DataT*
dummy(
nullptr);
57 assert(iRecord.
key() == RecordT::keyForClass());
59 rec.setImpl(&iRecord);
typename T::element_type type
const void * getImpl(const EventSetupRecordImpl &iRecord, const DataKey &) override
edm::propagate_const< std::shared_ptr< CallbackT > > callback_
static auto getPointer(T &iPtr) -> decltype(&*iPtr)
void invalidateCache() override
typename smart_pointer_traits::type value_type
const CallbackProxy & operator=(const CallbackProxy &)=delete
CallbackProxy(std::shared_ptr< CallbackT > &iCallback)
~CallbackProxy() override
EventSetupRecordKey const & key() const