Lines Matching refs:observers_
114 size_t size() const { return observers_.size(); } in size()
123 ListType observers_; variable
138 : list->observers_.size()) { in Iterator()
152 ListType& observers = list_->observers_; in GetNext()
163 if (ContainsValue(observers_, obs)) { in AddObserver()
167 observers_.push_back(obs); in AddObserver()
174 std::find(observers_.begin(), observers_.end(), obs); in RemoveObserver()
175 if (it != observers_.end()) { in RemoveObserver()
179 observers_.erase(it); in RemoveObserver()
187 for (size_t i = 0; i < observers_.size(); ++i) { in HasObserver()
188 if (observers_[i] == observer) in HasObserver()
197 for (typename ListType::iterator it = observers_.begin(); in Clear()
198 it != observers_.end(); ++it) { in Clear()
202 observers_.clear(); in Clear()
208 observers_.erase( in Compact()
209 std::remove(observers_.begin(), observers_.end(), nullptr), in Compact()
210 observers_.end()); in Compact()