Home
last modified time | relevance | path

Searched refs:ObserverArg (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/include/
H A Dobserver.h29 struct ObserverArg { struct
31 virtual ~ObserverArg() = default;
81 void NotifyObservers(const ObserverArg* arg);
124 virtual void Update(const Observable* o, const ObserverArg* arg) = 0;
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-observer.md16 | void | **NotifyObservers**(const ObserverArg* arg)<br>通知所有观察者,向观察者传入数据`arg`。 |
25 | virtual void | **Update**(const Observable* o, const ObserverArg* arg) =0<br>观察者更新自己的函数接口。 |
68 void Update(const Observable* o, const ObserverArg* /* arg */) override
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dobserver.cpp64 void Observable::NotifyObservers(const ObserverArg* arg) in NotifyObservers()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_observer_test.cpp57 virtual void Update(const Observable* o, const ObserverArg* /* arg */) in Update() argument
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/observer_benchmark_test/
H A Dobserver_benchmark_test.cpp90 virtual void Update(const Observable* o, const ObserverArg* /* arg */) in Update() argument