Searched refs:ObserverType (Results 1 – 2 of 2) sorted by relevance
65 template <typename ObserverType>68 template <class ObserverType>70 : public SupportsWeakPtr<ObserverListBase<ObserverType>> {87 explicit Iterator(ObserverListBase<ObserverType>* list);89 ObserverType* GetNext();92 WeakPtr<ObserverListBase<ObserverType>> list_;103 void AddObserver(ObserverType* obs);106 void RemoveObserver(ObserverType* obs);109 bool HasObserver(const ObserverType* observer) const;119 friend class ObserverListThreadSafe<ObserverType>;[all …]
60 template <class ObserverType>100 template <class ObserverType>103 ObserverListThreadSafe<ObserverType>,104 ObserverListThreadSafeTraits<ObserverType>> {106 typedef typename ObserverList<ObserverType>::NotificationType110 : type_(ObserverListBase<ObserverType>::NOTIFY_ALL) {} in ObserverListThreadSafe()115 void AddObserver(ObserverType* obs) { in AddObserver()121 ObserverList<ObserverType>* list = nullptr; in AddObserver()137 void RemoveObserver(ObserverType* obs) { in RemoveObserver()139 ObserverList<ObserverType>* list = nullptr; in RemoveObserver()[all …]