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 44 of file SimActivityRegistry.h.

Member Typedef Documentation

Definition at line 72 of file SimActivityRegistry.h.

Definition at line 51 of file SimActivityRegistry.h.

Definition at line 65 of file SimActivityRegistry.h.

Definition at line 79 of file SimActivityRegistry.h.

Definition at line 58 of file SimActivityRegistry.h.

Definition at line 100 of file SimActivityRegistry.h.

Definition at line 93 of file SimActivityRegistry.h.

Definition at line 107 of file SimActivityRegistry.h.

Definition at line 86 of file SimActivityRegistry.h.

Constructor & Destructor Documentation

SimActivityRegistry::SimActivityRegistry ( )
inline

Definition at line 48 of file SimActivityRegistry.h.

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

Member Function Documentation

void SimActivityRegistry::connect ( SimActivityRegistry iOther)

forwards our signals to slots connected to iOther

Definition at line 60 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(), 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().

61 {
68 
72 }
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:60
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 74 of file SimActivityRegistry.h.

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

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

Definition at line 53 of file SimActivityRegistry.h.

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

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

Definition at line 67 of file SimActivityRegistry.h.

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

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

Definition at line 81 of file SimActivityRegistry.h.

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

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

Definition at line 60 of file SimActivityRegistry.h.

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

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

Definition at line 102 of file SimActivityRegistry.h.

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

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

Definition at line 95 of file SimActivityRegistry.h.

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

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

Definition at line 109 of file SimActivityRegistry.h.

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

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

Definition at line 88 of file SimActivityRegistry.h.

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

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

Member Data Documentation

BeginOfEventSignal SimActivityRegistry::beginOfEventSignal_

Definition at line 73 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

BeginOfJobSignal SimActivityRegistry::beginOfJobSignal_

Definition at line 52 of file SimActivityRegistry.h.

Referenced by connect(), RunManager::initG4(), and watchBeginOfJob().

BeginOfRunSignal SimActivityRegistry::beginOfRunSignal_

Definition at line 66 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

BeginOfTrackSignal SimActivityRegistry::beginOfTrackSignal_

Definition at line 80 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

DDDWorldSignal SimActivityRegistry::dddWorldSignal_

Definition at line 59 of file SimActivityRegistry.h.

Referenced by connect(), RunManager::initG4(), and GeometryProducer::produce().

EndOfEventSignal SimActivityRegistry::endOfEventSignal_

Definition at line 101 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

EndOfRunSignal SimActivityRegistry::endOfRunSignal_

Definition at line 94 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

EndOfTrackSignal SimActivityRegistry::endOfTrackSignal_

Definition at line 108 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().

G4StepSignal SimActivityRegistry::g4StepSignal_

Definition at line 87 of file SimActivityRegistry.h.

Referenced by connect(), and RunManager::initializeUserActions().