Go to the documentation of this file. 1 #ifndef SimG4Core_Notification_Signaler_h
2 #define SimG4Core_Notification_Signaler_h
44 typedef typename std::vector<Observer<const T*>*>::const_iterator iterator;
46 (*it)->slotForUpdate(iSignal);
void operator()(const T *iSignal) const
void connect(Observer< const T * > *iObs)
does not take ownership of memory
void connect(Observer< const T * > &iObs)
does not take ownership of memory
void update(const T *iData) override
This routine will be called when the appropriate signal arrives.
const Signaler & operator=(const Signaler &)=delete
std::vector< Observer< const T * > * > observers_
Observer< const T * > * slot_type