1 #ifndef SimG4Core_Notification_SimActivityRegistry_h
2 #define SimG4Core_Notification_SimActivityRegistry_h
22 #include "boost/bind.hpp"
23 #include "boost/mem_fn.hpp"
41 #define SAR_CONNECT_METHOD(signal) void connect(Observer<const signal*>* iObject) { watch ## signal (iObject); }
67 beginOfRunSignal_.
connect(iSlot);
74 beginOfEventSignal_.
connect(iSlot);
81 beginOfTrackSignal_.
connect(iSlot);
102 endOfEventSignal_.
connect(iSlot);
109 endOfTrackSignal_.
connect(iSlot);
void watchEndOfEvent(const EndOfEventSignal::slot_type &iSlot)
void watchEndOfTrack(const EndOfTrackSignal::slot_type &iSlot)
G4StepSignal g4StepSignal_
EndOfEventSignal endOfEventSignal_
BeginOfRunSignal beginOfRunSignal_
#define SAR_CONNECT_METHOD(signal)
BeginOfJobSignal beginOfJobSignal_
void watchBeginOfJob(const BeginOfJobSignal::slot_type &iSlot)
void watchBeginOfRun(const BeginOfRunSignal::slot_type &iSlot)
void watchEndOfRun(const EndOfRunSignal::slot_type &iSlot)
sim_act::Signaler< BeginOfJob > BeginOfJobSignal
BeginOfEventSignal beginOfEventSignal_
void watchBeginOfEvent(const BeginOfEventSignal::slot_type &iSlot)
EndOfRunSignal endOfRunSignal_
void connect(Observer< const T * > *iObs)
does not take ownership of memory
void watchG4Step(const G4StepSignal::slot_type &iSlot)
DDDWorldSignal dddWorldSignal_
void watchBeginOfTrack(const BeginOfTrackSignal::slot_type &iSlot)
void watchDDDWorld(const DDDWorldSignal::slot_type &iSlot)
void connect(SimActivityRegistry &iOther)
forwards our signals to slots connected to iOther
EndOfTrackSignal endOfTrackSignal_
BeginOfTrackSignal beginOfTrackSignal_