1 #ifndef Framework_CallbackProxy_h 2 #define Framework_CallbackProxy_h 36 template <
class CallbackT,
class RecordT,
class DataT>
47 iCallback->holdOntoPointer(&
data_);
51 DataT*
dummy(
nullptr);
56 assert(iRecord.
key() == RecordT::keyForClass());
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