CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::limited::impl::RunSummaryCacheHolder< T, C > Class Template Referenceabstract

#include <implementors.h>

Inheritance diagram for edm::limited::impl::RunSummaryCacheHolder< T, C >:
edm::limited::impl::EndRunSummaryProducer< T, C >

Public Member Functions

RunSummaryCacheHolder< T, C > & operator= (RunSummaryCacheHolder< T, C > const &)=delete
 
 RunSummaryCacheHolder (edm::ParameterSet const &iPSet)
 
 RunSummaryCacheHolder (RunSummaryCacheHolder< T, C > const &)=delete
 
 ~RunSummaryCacheHolder ()(false)
 

Private Member Functions

void doBeginRunSummary_ (edm::Run const &rp, EventSetup const &c) final
 
void doEndRunSummary_ (Run const &rp, EventSetup const &c) final
 
void doStreamEndRunSummary_ (StreamID id, Run const &rp, EventSetup const &c) final
 
virtual std::shared_ptr< C > globalBeginRunSummary (edm::Run const &, edm::EventSetup const &) const =0
 
virtual void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, C *) const =0
 
virtual void streamEndRunSummary (StreamID, edm::Run const &, edm::EventSetup const &, C *) const =0
 

Private Attributes

std::shared_ptr< C > cache_
 
std::mutex mutex_
 

Friends

class EndRunSummaryProducer< T, C >
 

Detailed Description

template<typename T, typename C>
class edm::limited::impl::RunSummaryCacheHolder< T, C >

Definition at line 147 of file implementors.h.

Constructor & Destructor Documentation

template<typename T , typename C >
edm::limited::impl::RunSummaryCacheHolder< T, C >::RunSummaryCacheHolder ( edm::ParameterSet const &  iPSet)
inline

Definition at line 149 of file implementors.h.

149 : T(iPSet) {}
long double T
template<typename T , typename C >
edm::limited::impl::RunSummaryCacheHolder< T, C >::RunSummaryCacheHolder ( RunSummaryCacheHolder< T, C > const &  )
delete
template<typename T , typename C >
edm::limited::impl::RunSummaryCacheHolder< T, C >::~RunSummaryCacheHolder ( )
inline

Definition at line 152 of file implementors.h.

152 {};

Member Function Documentation

template<typename T , typename C >
void edm::limited::impl::RunSummaryCacheHolder< T, C >::doBeginRunSummary_ ( edm::Run const &  rp,
EventSetup const &  c 
)
inlinefinalprivate

Definition at line 156 of file implementors.h.

References EnergyCorrector::c.

156  {
158  }
virtual std::shared_ptr< C > globalBeginRunSummary(edm::Run const &, edm::EventSetup const &) const =0
template<typename T , typename C >
void edm::limited::impl::RunSummaryCacheHolder< T, C >::doEndRunSummary_ ( Run const &  rp,
EventSetup const &  c 
)
inlinefinalprivate

Definition at line 164 of file implementors.h.

References EnergyCorrector::c.

164 { globalEndRunSummary(rp, c, cache_.get()); }
virtual void globalEndRunSummary(edm::Run const &, edm::EventSetup const &, C *) const =0
template<typename T , typename C >
void edm::limited::impl::RunSummaryCacheHolder< T, C >::doStreamEndRunSummary_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
inlinefinalprivate

Definition at line 159 of file implementors.h.

References EnergyCorrector::c.

159  {
160  //NOTE: in future this will need to be serialized
161  std::lock_guard<std::mutex> guard(mutex_);
162  streamEndRunSummary(id, rp, c, cache_.get());
163  }
virtual void streamEndRunSummary(StreamID, edm::Run const &, edm::EventSetup const &, C *) const =0
template<typename T , typename C >
virtual std::shared_ptr<C> edm::limited::impl::RunSummaryCacheHolder< T, C >::globalBeginRunSummary ( edm::Run const &  ,
edm::EventSetup const &   
) const
privatepure virtual
template<typename T , typename C >
virtual void edm::limited::impl::RunSummaryCacheHolder< T, C >::globalEndRunSummary ( edm::Run const &  ,
edm::EventSetup const &  ,
C *   
) const
privatepure virtual
template<typename T , typename C >
RunSummaryCacheHolder<T, C>& edm::limited::impl::RunSummaryCacheHolder< T, C >::operator= ( RunSummaryCacheHolder< T, C > const &  )
delete
template<typename T , typename C >
virtual void edm::limited::impl::RunSummaryCacheHolder< T, C >::streamEndRunSummary ( StreamID  ,
edm::Run const &  ,
edm::EventSetup const &  ,
C *   
) const
privatepure virtual

Friends And Related Function Documentation

template<typename T , typename C >
friend class EndRunSummaryProducer< T, C >
friend

Definition at line 152 of file implementors.h.

Member Data Documentation

template<typename T , typename C >
std::shared_ptr<C> edm::limited::impl::RunSummaryCacheHolder< T, C >::cache_
private

Definition at line 172 of file implementors.h.

template<typename T , typename C >
std::mutex edm::limited::impl::RunSummaryCacheHolder< T, C >::mutex_
private

Definition at line 173 of file implementors.h.