Lines Matching refs:ObservedPtr
18 class ObservedPtr {
20 ObservedPtr() : m_pObservable(nullptr) {} in ObservedPtr() function
21 explicit ObservedPtr(T* pObservable) : m_pObservable(pObservable) { in ObservedPtr() function
25 ObservedPtr(const ObservedPtr& that) : ObservedPtr(that.Get()) {} in ObservedPtr() function
26 ~ObservedPtr() { in ~ObservedPtr()
41 ObservedPtr& operator=(const ObservedPtr& that) {
45 bool operator==(const ObservedPtr& that) const {
48 bool operator!=(const ObservedPtr& that) const { return !(*this == that); }
61 void AddObservedPtr(ObservedPtr* pObservedPtr) { in AddObservedPtr()
65 void RemoveObservedPtr(ObservedPtr* pObservedPtr) { in RemoveObservedPtr()
80 std::set<ObservedPtr*> m_ObservedPtrs;