Lines Matching refs:CallbackManager
24 class CallbackManager {
26 CallbackManager() = default;
27 virtual ~CallbackManager() = default;
42 std::map<napi_env, std::map<napi_ref, sptr<T>>> CallbackManager<T>::GetCallbackMap() in GetCallbackMap()
49 void CallbackManager<T>::DeleteCallbackByEnv(const napi_env& env) in DeleteCallbackByEnv()
61 bool CallbackManager<T>::IsCallbackInMap(const napi_env& env, const napi_value& handler) in IsCallbackInMap()
78 void CallbackManager<T>::AddCallback(const napi_env& env, const napi_ref& handlerRef, const sptr<T>… in AddCallback()
92 void CallbackManager<T>::DeleteCallback(const napi_env& env, const napi_value& handler) in DeleteCallback()
112 sptr<T> CallbackManager<T>::GetCallbackPtr(const napi_env& env, const napi_value& handler) in GetCallbackPtr()
129 bool CallbackManager<T>::RegCallback(const napi_env& env, const size_t argc, const napi_value* argv) in RegCallback()
159 LocationErrCode CallbackManager<T>::SubscribeChange(const napi_env& env, in SubscribeChange()