CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
edm::signalslot::Signal< T > Class Template Reference

#include <DelayedReader.h>

Public Types

typedef std::vector< slot_typeslot_list_type
 
typedef std::function< Tslot_type
 

Public Member Functions

template<typename U >
void connect (U iFunc)
 
template<typename U >
void connect_front (U iFunc)
 
template<typename... Args>
void emit (Args &&... args) const
 
template<typename... Args>
void operator() (Args &&... args) const
 
Signaloperator= (const Signal &)=delete
 
 Signal ()=default
 
 Signal (Signal &&)=default
 
 Signal (const Signal &)=delete
 
slot_list_type const & slots () const
 
 ~Signal ()=default
 

Private Attributes

slot_list_type m_slots
 

Detailed Description

template<typename T>
class edm::signalslot::Signal< T >

Definition at line 26 of file DelayedReader.h.

Member Typedef Documentation

◆ slot_list_type

template<typename T>
typedef std::vector<slot_type> edm::signalslot::Signal< T >::slot_list_type

Definition at line 38 of file Signal.h.

◆ slot_type

template<typename T>
typedef std::function<T> edm::signalslot::Signal< T >::slot_type

Definition at line 37 of file Signal.h.

Constructor & Destructor Documentation

◆ Signal() [1/3]

template<typename T>
edm::signalslot::Signal< T >::Signal ( )
default

◆ ~Signal()

template<typename T>
edm::signalslot::Signal< T >::~Signal ( )
default

◆ Signal() [2/3]

template<typename T>
edm::signalslot::Signal< T >::Signal ( Signal< T > &&  )
default

◆ Signal() [3/3]

template<typename T>
edm::signalslot::Signal< T >::Signal ( const Signal< T > &  )
delete

Member Function Documentation

◆ connect()

template<typename T>
template<typename U >
void edm::signalslot::Signal< T >::connect ( iFunc)
inline

Definition at line 64 of file Signal.h.

Referenced by edm::ActivityRegistry::connectGlobals(), edm::ActivityRegistry::connectLocals(), EventProcessingAllocMonitor::EventProcessingAllocMonitor(), PrintLoadingPlugins::PrintLoadingPlugins(), edm::service::Tracer::Tracer(), edm::UnscheduledCallProducer::UnscheduledCallProducer(), o2o_db_cfgmap.DbManagerDAQ::update_hashmap(), edm::ActivityRegistry::watchBeginProcessing(), edm::ActivityRegistry::watchEndProcessing(), edm::ActivityRegistry::watchESSyncIOVQueuing(), edm::ActivityRegistry::watchEventSetupConfiguration(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostESModuleRegistration(), edm::ActivityRegistry::watchPostESSyncIOV(), edm::ActivityRegistry::watchPreAccessInputProcessBlock(), edm::ActivityRegistry::watchPreallocate(), edm::ActivityRegistry::watchPreBeginJob(), edm::ActivityRegistry::watchPreBeginProcessBlock(), edm::ActivityRegistry::watchPreClearEvent(), edm::ActivityRegistry::watchPreCloseFile(), edm::ActivityRegistry::watchPreEndProcessBlock(), edm::ActivityRegistry::watchPreESModule(), edm::ActivityRegistry::watchPreESModuleAcquire(), edm::ActivityRegistry::watchPreESModulePrefetching(), edm::ActivityRegistry::watchPreESSyncIOV(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreEventReadFromSource(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreGlobalBeginRun(), edm::ActivityRegistry::watchPreGlobalEarlyTermination(), edm::ActivityRegistry::watchPreGlobalEndLumi(), edm::ActivityRegistry::watchPreGlobalEndRun(), edm::ActivityRegistry::watchPreGlobalWriteLumi(), edm::ActivityRegistry::watchPreGlobalWriteRun(), edm::ActivityRegistry::watchPreModuleAccessInputProcessBlock(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleBeginProcessBlock(), edm::ActivityRegistry::watchPreModuleBeginStream(), edm::ActivityRegistry::watchPreModuleConstruction(), edm::ActivityRegistry::watchPreModuleDestruction(), edm::ActivityRegistry::watchPreModuleEndJob(), edm::ActivityRegistry::watchPreModuleEndProcessBlock(), edm::ActivityRegistry::watchPreModuleEndStream(), edm::ActivityRegistry::watchPreModuleEvent(), edm::ActivityRegistry::watchPreModuleEventAcquire(), edm::ActivityRegistry::watchPreModuleEventDelayedGet(), edm::ActivityRegistry::watchPreModuleEventPrefetching(), edm::ActivityRegistry::watchPreModuleGlobalBeginLumi(), edm::ActivityRegistry::watchPreModuleGlobalBeginRun(), edm::ActivityRegistry::watchPreModuleGlobalEndLumi(), edm::ActivityRegistry::watchPreModuleGlobalEndRun(), edm::ActivityRegistry::watchPreModuleGlobalPrefetching(), edm::ActivityRegistry::watchPreModuleStreamBeginLumi(), edm::ActivityRegistry::watchPreModuleStreamBeginRun(), edm::ActivityRegistry::watchPreModuleStreamEndLumi(), edm::ActivityRegistry::watchPreModuleStreamEndRun(), edm::ActivityRegistry::watchPreModuleStreamPrefetching(), edm::ActivityRegistry::watchPreModuleTransform(), edm::ActivityRegistry::watchPreModuleTransformAcquiring(), edm::ActivityRegistry::watchPreModuleTransformPrefetching(), edm::ActivityRegistry::watchPreModuleWriteLumi(), edm::ActivityRegistry::watchPreModuleWriteProcessBlock(), edm::ActivityRegistry::watchPreModuleWriteRun(), edm::ActivityRegistry::watchPreOpenFile(), edm::ActivityRegistry::watchPrePathEvent(), edm::ActivityRegistry::watchPreSourceConstruction(), edm::ActivityRegistry::watchPreSourceEarlyTermination(), edm::ActivityRegistry::watchPreSourceEvent(), edm::ActivityRegistry::watchPreSourceLumi(), edm::ActivityRegistry::watchPreSourceNextTransition(), edm::ActivityRegistry::watchPreSourceProcessBlock(), edm::ActivityRegistry::watchPreSourceRun(), edm::ActivityRegistry::watchPreStreamBeginLumi(), edm::ActivityRegistry::watchPreStreamBeginRun(), edm::ActivityRegistry::watchPreStreamEarlyTermination(), edm::ActivityRegistry::watchPreStreamEndLumi(), edm::ActivityRegistry::watchPreStreamEndRun(), and edm::ActivityRegistry::watchPreWriteProcessBlock().

64  {
65  m_slots.push_back(std::function<T>(iFunc));
66  }
slot_list_type m_slots
Definition: Signal.h:75

◆ connect_front()

template<typename T>
template<typename U >
void edm::signalslot::Signal< T >::connect_front ( iFunc)
inline

Definition at line 69 of file Signal.h.

Referenced by edm::ActivityRegistry::watchJobFailure(), edm::ActivityRegistry::watchPostAccessInputProcessBlock(), edm::ActivityRegistry::watchPostBeginProcessBlock(), edm::ActivityRegistry::watchPostClearEvent(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEndProcessBlock(), edm::ActivityRegistry::watchPostESModule(), edm::ActivityRegistry::watchPostESModuleAcquire(), edm::ActivityRegistry::watchPostESModulePrefetching(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostEventReadFromSource(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostGlobalWriteLumi(), edm::ActivityRegistry::watchPostGlobalWriteRun(), edm::ActivityRegistry::watchPostModuleAccessInputProcessBlock(), edm::ActivityRegistry::watchPostModuleBeginJob(), edm::ActivityRegistry::watchPostModuleBeginProcessBlock(), edm::ActivityRegistry::watchPostModuleBeginStream(), edm::ActivityRegistry::watchPostModuleConstruction(), edm::ActivityRegistry::watchPostModuleDestruction(), edm::ActivityRegistry::watchPostModuleEndJob(), edm::ActivityRegistry::watchPostModuleEndProcessBlock(), edm::ActivityRegistry::watchPostModuleEndStream(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostModuleEventAcquire(), edm::ActivityRegistry::watchPostModuleEventDelayedGet(), edm::ActivityRegistry::watchPostModuleEventPrefetching(), edm::ActivityRegistry::watchPostModuleGlobalBeginLumi(), edm::ActivityRegistry::watchPostModuleGlobalBeginRun(), edm::ActivityRegistry::watchPostModuleGlobalEndLumi(), edm::ActivityRegistry::watchPostModuleGlobalEndRun(), edm::ActivityRegistry::watchPostModuleGlobalPrefetching(), edm::ActivityRegistry::watchPostModuleStreamBeginLumi(), edm::ActivityRegistry::watchPostModuleStreamBeginRun(), edm::ActivityRegistry::watchPostModuleStreamEndLumi(), edm::ActivityRegistry::watchPostModuleStreamEndRun(), edm::ActivityRegistry::watchPostModuleStreamPrefetching(), edm::ActivityRegistry::watchPostModuleTransform(), edm::ActivityRegistry::watchPostModuleTransformAcquiring(), edm::ActivityRegistry::watchPostModuleTransformPrefetching(), edm::ActivityRegistry::watchPostModuleWriteLumi(), edm::ActivityRegistry::watchPostModuleWriteProcessBlock(), edm::ActivityRegistry::watchPostModuleWriteRun(), edm::ActivityRegistry::watchPostOpenFile(), edm::ActivityRegistry::watchPostPathEvent(), edm::ActivityRegistry::watchPostSourceConstruction(), edm::ActivityRegistry::watchPostSourceEvent(), edm::ActivityRegistry::watchPostSourceLumi(), edm::ActivityRegistry::watchPostSourceNextTransition(), edm::ActivityRegistry::watchPostSourceProcessBlock(), edm::ActivityRegistry::watchPostSourceRun(), edm::ActivityRegistry::watchPostStreamBeginLumi(), edm::ActivityRegistry::watchPostStreamBeginRun(), edm::ActivityRegistry::watchPostStreamEndLumi(), edm::ActivityRegistry::watchPostStreamEndRun(), edm::ActivityRegistry::watchPostWriteProcessBlock(), and edm::ActivityRegistry::watchPreEndJob().

69  {
70  m_slots.insert(m_slots.begin(), std::function<T>(iFunc));
71  }
slot_list_type m_slots
Definition: Signal.h:75

◆ emit()

template<typename T>
template<typename... Args>
void edm::signalslot::Signal< T >::emit ( Args &&...  args) const
inline

◆ operator()()

template<typename T>
template<typename... Args>
void edm::signalslot::Signal< T >::operator() ( Args &&...  args) const
inline

Definition at line 55 of file Signal.h.

55  {
56  emit(std::forward<Args>(args)...);
57  }
void emit(Args &&... args) const
Definition: Signal.h:48

◆ operator=()

template<typename T>
Signal& edm::signalslot::Signal< T >::operator= ( const Signal< T > &  )
delete

◆ slots()

template<typename T>
slot_list_type const& edm::signalslot::Signal< T >::slots ( ) const
inline

Definition at line 59 of file Signal.h.

59 { return m_slots; }
slot_list_type m_slots
Definition: Signal.h:75

Member Data Documentation

◆ m_slots

template<typename T>
slot_list_type edm::signalslot::Signal< T >::m_slots
private