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 connect(Observer< const T *> *iObs)
does not take ownership of memory
void operator()(const T *iSignal) const
void update(const T *iData) override
This routine will be called when the appropriate signal arrives.
const Signaler & operator=(const Signaler &)=delete
Observer< const T * > * slot_type
std::vector< Observer< const T * > * > observers_
void connect(Observer< const T *> &iObs)
does not take ownership of memory