#include <SimG4Core/Notification/interface/Observer.h>
Public Member Functions | |
Observer () | |
void | slotForUpdate (T iT) |
virtual | ~Observer () |
Protected Member Functions | |
virtual void | update (T)=0 |
This routine will be called when the appropriate signal arrives. More... | |
Description: Adapts the COBRA signal handling for use in the OscarProducer
Usage: If a class that is loaded by OscarProducer, via its configuraiton file, inherits from Observer<T>, (e.g., Observer<const BeginOfTrack*>), the OscarProducer will make sure the appropriate signal is sent to an object of that class (e.g., the object will see the BeginOfTrack signal). To handle the signal the class must override the 'void update(T)' method (e.g., void update(const BeginOfTrack*)).
Definition at line 23 of file Observer.h.
Definition at line 25 of file Observer.h.
Definition at line 26 of file Observer.h.
This method is what is called when the signal is actually sent. The signal is not sent directly to 'update' because if we did 1) If the user did not declare 'update' to be 'public' then we get a compilation failure 2) we would not have a 'hook' to allow the 'pre' and 'post' functions to be called
Definition at line 33 of file Observer.h.
This routine will be called when the appropriate signal arrives.
Implemented in G4StepStatistics, BscTest, BscTest, G4StepStatistics, BscTest, BscTest, BscTest, BscTest, BscTest, BscTest, G4StepStatistics, FP420Test, FP420Test, FP420Test, FP420Test, FP420Test, FP420Test, FP420Test, FP420Test, G4StepStatistics, G4StepStatistics, G4StepStatistics, EcalTBH4Trigger, G4StepStatistics, G4StepStatistics, G4StepStatistics, CastorShowerLibraryMaker, CastorShowerLibraryMaker, CastorShowerLibraryMaker, CastorShowerLibraryMaker, CastorShowerLibraryMaker, CastorShowerLibraryMaker, EcalTBH4Trigger, CaloSD, CaloSD, SimTracer, CaloSD, CastorTestAnalysis, SimTracer, CaloSD, CastorTestAnalysis, SimTracer, CastorTestAnalysis, CastorTestAnalysis, ZdcTestAnalysis, CastorTestAnalysis, DoCastorAnalysis, ZdcTestAnalysis, EcalTBH4Trigger, CastorTestAnalysis, DoCastorAnalysis, ZdcTestAnalysis, DoCastorAnalysis, ZdcTestAnalysis, DoCastorAnalysis, ZdcTestAnalysis, DoCastorAnalysis, ZdcTestAnalysis, DoCastorAnalysis, SimG4HGCalValidation, HcalTB04Analysis, SimG4HGCalValidation, HcalTB04Analysis, SimG4HGCalValidation, HcalTB04Analysis, HcalTB04Analysis, SimTracer, LaserAlignmentSimulation, HcalForwardAnalysis, SimTracer, CaloSteppingAction, FP420SD, HcalForwardAnalysis, SimTracer, LaserAlignmentSimulation, CaloSteppingAction, FP420SD, HcalForwardAnalysis, SimTracer, CaloSteppingAction, HcalForwardAnalysis, SimTracer, LaserAlignmentSimulation, CaloSteppingAction, SimTracer, CaloSteppingAction, sim_act::Signaler< T >, sim_act::Signaler< G4Step >, sim_act::Signaler< EndOfEvent >, sim_act::Signaler< BeginOfRun >, sim_act::Signaler< BeginOfEvent >, sim_act::Signaler< BeginOfTrack >, sim_act::Signaler< DDDWorld >, sim_act::Signaler< BeginOfJob >, sim_act::Signaler< EndOfRun >, sim_act::Signaler< EndOfTrack >, LaserAlignmentSimulation, TotemSD, LaserAlignmentSimulation, LaserAlignmentSimulation, LaserAlignmentSimulation, HcalTB02Analysis, HcalTB02Analysis, TkAccumulatingSensitiveDetector, SimG4HcalValidation, TkAccumulatingSensitiveDetector, SimG4HcalValidation, TkAccumulatingSensitiveDetector, SimG4HcalValidation, TotemTestGem, HGCPassive, MuonSensitiveDetector, FiberSD, simwatcher::BeginOfTrackCounter, SimG4HcalValidation, TotemTestGem, HGCPassive, FiberSD, SimG4HcalValidation, HCalSD, HGCPassive, FiberSD, MaterialBudgetAction, TimingSD, MaterialBudgetAction, HcalTestAnalysis, TrackingVerboseAction, MaterialBudgetAction, HcalTestAnalysis, TrackingVerboseAction, TrackingMaterialProducer, MaterialBudgetAction, HcalTestAnalysis, TrackingVerboseAction, TrackingMaterialProducer, MaterialBudgetAction, HcalTestAnalysis, TrackingVerboseAction, TrackingMaterialProducer, HcalTestAnalysis, TrackingVerboseAction, TrackingMaterialProducer, TrackingMaterialProducer, SimG4FluxProducer, CheckSecondary, TrackingMaterialProducer, EcalSimHitsValidProducer, SimG4FluxProducer, CheckSecondary, EcalSimHitsValidProducer, MaterialBudget, MaterialBudgetForward, CaloTrkProcessing, SimG4FluxProducer, CheckSecondary, EcalSimHitsValidProducer, MaterialBudget, MaterialBudgetForward, CaloTrkProcessing, CheckSecondary, MaterialBudget, MaterialBudgetForward, GflashG4Watcher, MaterialBudget, MaterialBudgetForward, HGCSD, GflashG4Watcher, HGCalTBMB, GflashG4Watcher, HGCalTBMB, MaterialBudgetHcal, HGCalTBMB, StoreSecondary, MaterialBudgetHcal, HFNoseSD, HGCalSD, FastTimerSD, StoreSecondary, MaterialBudgetHcal, HGCScintSD, StoreSecondary, MaterialBudgetHcal, CountProcessesAction, PrintMaterialBudgetInfo, CountProcessesAction, PrintMaterialBudgetInfo, CountProcessesAction, PrintGeomInfoAction, PrintGeomSummary, CountProcessesAction, PrintGeomInfoAction, PrintGeomSummary, RHStopTracer, RHStopTracer, CheckOverlap, RHStopTracer, RHStopTracer, MonopoleSteppingAction, MonopoleSteppingAction, MonopoleSteppingAction, MonopoleSteppingAction, PrintSensitive, PrintTrackNumberAction, PrintTrackNumberAction, SaveSimTrack, KillSecondariesRunAction, and KillSecondariesTrackAction.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), Observer< const DDDWorld * >::slotForUpdate(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().