1 #ifndef Framework_CallbackProxy_h 2 #define Framework_CallbackProxy_h 35 namespace eventsetup {
37 template<
class CallbackT,
class RecordT,
class DataT>
50 iCallback->holdOntoPointer(&
data_) ; }
52 DataT*
dummy(
nullptr);
61 assert(iRecord.
key() == RecordT::keyForClass());
63 rec.setImpl(&iRecord);
const void * getImpl(const EventSetupRecordImpl &iRecord, const DataKey &) override
edm::propagate_const< std::shared_ptr< CallbackT > > callback_
produce::smart_pointer_traits< DataT >::type value_type
void invalidateCache() override
const CallbackProxy & operator=(const CallbackProxy &)=delete
CallbackProxy(std::shared_ptr< CallbackT > &iCallback)
~CallbackProxy() override
EventSetupRecordKey const & key() const