CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes | Private Member Functions
SimActivityRegistry Class Reference

#include <SimG4Core/Notification/interface/SimActivityRegistry.h>

Public Types

typedef sim_act::Signaler
< BeginOfEvent
BeginOfEventSignal
 
typedef sim_act::Signaler
< BeginOfJob
BeginOfJobSignal
 
typedef sim_act::Signaler
< BeginOfRun
BeginOfRunSignal
 
typedef sim_act::Signaler
< BeginOfTrack
BeginOfTrackSignal
 
typedef sim_act::Signaler
< DDDWorld
DDDWorldSignal
 
typedef sim_act::Signaler
< EndOfEvent
EndOfEventSignal
 
typedef sim_act::Signaler
< EndOfRun
EndOfRunSignal
 
typedef sim_act::Signaler
< EndOfTrack
EndOfTrackSignal
 
typedef sim_act::Signaler< G4Step > G4StepSignal
 

Public Member Functions

void connect (SimActivityRegistry &iOther)
 forwards our signals to slots connected to iOther More...
 
 SimActivityRegistry ()
 
void watchBeginOfEvent (const BeginOfEventSignal::slot_type &iSlot)
 
void watchBeginOfJob (const BeginOfJobSignal::slot_type &iSlot)
 
void watchBeginOfRun (const BeginOfRunSignal::slot_type &iSlot)
 
void watchBeginOfTrack (const BeginOfTrackSignal::slot_type &iSlot)
 
void watchDDDWorld (const DDDWorldSignal::slot_type &iSlot)
 
void watchEndOfEvent (const EndOfEventSignal::slot_type &iSlot)
 
void watchEndOfRun (const EndOfRunSignal::slot_type &iSlot)
 
void watchEndOfTrack (const EndOfTrackSignal::slot_type &iSlot)
 
void watchG4Step (const G4StepSignal::slot_type &iSlot)
 

Public Attributes

BeginOfEventSignal beginOfEventSignal_
 
BeginOfJobSignal beginOfJobSignal_
 
BeginOfRunSignal beginOfRunSignal_
 
BeginOfTrackSignal beginOfTrackSignal_
 
DDDWorldSignal dddWorldSignal_
 
EndOfEventSignal endOfEventSignal_
 
EndOfRunSignal endOfRunSignal_
 
EndOfTrackSignal endOfTrackSignal_
 
G4StepSignal g4StepSignal_
 

Private Member Functions

const SimActivityRegistryoperator= (const SimActivityRegistry &)
 
 SimActivityRegistry (const SimActivityRegistry &)
 

Detailed Description

Description: Holds the various signals emitted in the simulation framework

Usage: <usage>

Definition at line 43 of file SimActivityRegistry.h.

Member Typedef Documentation

Definition at line 71 of file SimActivityRegistry.h.

Definition at line 50 of file SimActivityRegistry.h.

Definition at line 64 of file SimActivityRegistry.h.

Definition at line 78 of file SimActivityRegistry.h.

Definition at line 57 of file SimActivityRegistry.h.

Definition at line 99 of file SimActivityRegistry.h.

Definition at line 92 of file SimActivityRegistry.h.

Definition at line 106 of file SimActivityRegistry.h.

Definition at line 85 of file SimActivityRegistry.h.

Constructor & Destructor Documentation

SimActivityRegistry::SimActivityRegistry ( )
inline

Definition at line 47 of file SimActivityRegistry.h.

47 {}
SimActivityRegistry::SimActivityRegistry ( const SimActivityRegistry )
private

Member Function Documentation

void SimActivityRegistry::connect ( SimActivityRegistry iOther)

forwards our signals to slots connected to iOther

Definition at line 59 of file SimActivityRegistry.cc.

References beginOfEventSignal_, beginOfJobSignal_, beginOfRunSignal_, beginOfTrackSignal_, sim_act::Signaler< T >::connect(), dddWorldSignal_, endOfEventSignal_, endOfRunSignal_, endOfTrackSignal_, and g4StepSignal_.

Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Views.PropertyView.BooleanProperty::__init__(), Vispa.Gui.FindDialog.FindDialog::_addScript(), Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), Vispa.Main.Application.Application::_connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Views.PropertyView.PropertyView::append(), Vispa.Views.PropertyView.PropertyView::appendAddRow(), Vispa.Main.Application.Application::createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), enroller_helper::Enrollment< T >::enroll(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), GeometryProducer::GeometryProducer(), Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), RunManager::RunManager(), RunManagerMT::RunManagerMT(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Main.SplitterTab.SplitterTab::setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().

60 {
67 
71 }
EndOfEventSignal endOfEventSignal_
BeginOfRunSignal beginOfRunSignal_
BeginOfJobSignal beginOfJobSignal_
BeginOfEventSignal beginOfEventSignal_
EndOfRunSignal endOfRunSignal_
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:59
DDDWorldSignal dddWorldSignal_
EndOfTrackSignal endOfTrackSignal_
BeginOfTrackSignal beginOfTrackSignal_
const SimActivityRegistry& SimActivityRegistry::operator= ( const SimActivityRegistry )
private
void SimActivityRegistry::watchBeginOfEvent ( const BeginOfEventSignal::slot_type iSlot)
inline

Definition at line 73 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

73  {
75  }
BeginOfEventSignal beginOfEventSignal_
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:59
void SimActivityRegistry::watchBeginOfJob ( const BeginOfJobSignal::slot_type iSlot)
inline

Definition at line 52 of file SimActivityRegistry.h.

References beginOfJobSignal_, and sim_act::Signaler< T >::connect().

52  {
54  }
BeginOfJobSignal beginOfJobSignal_
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:59
void SimActivityRegistry::watchBeginOfRun ( const BeginOfRunSignal::slot_type iSlot)
inline

Definition at line 66 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

66  {
68  }
BeginOfRunSignal beginOfRunSignal_
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:59
void SimActivityRegistry::watchBeginOfTrack ( const BeginOfTrackSignal::slot_type iSlot)
inline

Definition at line 80 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

80  {
82  }
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:59
BeginOfTrackSignal beginOfTrackSignal_
void SimActivityRegistry::watchDDDWorld ( const DDDWorldSignal::slot_type iSlot)
inline

Definition at line 59 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

59  {
60  dddWorldSignal_.connect(iSlot);
61  }
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:59
DDDWorldSignal dddWorldSignal_
void SimActivityRegistry::watchEndOfEvent ( const EndOfEventSignal::slot_type iSlot)
inline

Definition at line 101 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

101  {
102  endOfEventSignal_.connect(iSlot);
103  }
EndOfEventSignal endOfEventSignal_
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:59
void SimActivityRegistry::watchEndOfRun ( const EndOfRunSignal::slot_type iSlot)
inline

Definition at line 94 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

94  {
95  endOfRunSignal_.connect(iSlot);
96  }
EndOfRunSignal endOfRunSignal_
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:59
void SimActivityRegistry::watchEndOfTrack ( const EndOfTrackSignal::slot_type iSlot)
inline

Definition at line 108 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

108  {
109  endOfTrackSignal_.connect(iSlot);
110  }
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:59
EndOfTrackSignal endOfTrackSignal_
void SimActivityRegistry::watchG4Step ( const G4StepSignal::slot_type iSlot)
inline

Definition at line 87 of file SimActivityRegistry.h.

References sim_act::Signaler< T >::connect().

87  {
88  g4StepSignal_.connect(iSlot);
89  }
void connect(Observer< const T * > *iObs)
does not take ownership of memory
Definition: Signaler.h:59

Member Data Documentation

BeginOfEventSignal SimActivityRegistry::beginOfEventSignal_

Definition at line 72 of file SimActivityRegistry.h.

Referenced by RunManager::Connect(), RunManagerMT::Connect(), and connect().

BeginOfJobSignal SimActivityRegistry::beginOfJobSignal_
BeginOfRunSignal SimActivityRegistry::beginOfRunSignal_

Definition at line 65 of file SimActivityRegistry.h.

Referenced by RunManager::Connect(), RunManagerMT::Connect(), and connect().

BeginOfTrackSignal SimActivityRegistry::beginOfTrackSignal_

Definition at line 79 of file SimActivityRegistry.h.

Referenced by RunManager::Connect(), RunManagerMT::Connect(), and connect().

DDDWorldSignal SimActivityRegistry::dddWorldSignal_
EndOfEventSignal SimActivityRegistry::endOfEventSignal_

Definition at line 100 of file SimActivityRegistry.h.

Referenced by RunManager::Connect(), RunManagerMT::Connect(), and connect().

EndOfRunSignal SimActivityRegistry::endOfRunSignal_

Definition at line 93 of file SimActivityRegistry.h.

Referenced by RunManager::Connect(), RunManagerMT::Connect(), and connect().

EndOfTrackSignal SimActivityRegistry::endOfTrackSignal_

Definition at line 107 of file SimActivityRegistry.h.

Referenced by RunManager::Connect(), RunManagerMT::Connect(), and connect().

G4StepSignal SimActivityRegistry::g4StepSignal_

Definition at line 86 of file SimActivityRegistry.h.

Referenced by RunManager::Connect(), RunManagerMT::Connect(), and connect().