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