Home
last modified time | relevance | path

Searched refs:EventHandlerInstance (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/notification/eventhandler/frameworks/napi/include/
H A Devents_emitter.h38 class EventHandlerInstance : public EventHandler {
40 EventHandlerInstance(const std::shared_ptr<EventRunner>& runner);
41 static std::shared_ptr<EventHandlerInstance> GetInstance();
42 ~EventHandlerInstance();
/ohos5.0/base/notification/eventhandler/frameworks/napi/src/
H A Devents_emitter.cpp37 std::shared_ptr<EventHandlerInstance> eventHandler;
42EventHandlerInstance::EventHandlerInstance(const std::shared_ptr<EventRunner>& runner): EventHandl… in EventHandlerInstance() function in OHOS::AppExecFwk::EventHandlerInstance
46 EventHandlerInstance::~EventHandlerInstance() in ~EventHandlerInstance()
50 std::shared_ptr<EventHandlerInstance> EventHandlerInstance::GetInstance() in GetInstance()
57 static auto instance = std::make_shared<EventHandlerInstance>(runner); in GetInstance()
125 … std::unordered_set<std::shared_ptr<AsyncCallbackInfo>> EventHandlerInstance::GetAsyncCallbackInfo( in GetAsyncCallbackInfo()
145 void EventHandlerInstance::ProcessEvent([[maybe_unused]] const InnerEvent::Pointer& event)
754 eventHandler = EventHandlerInstance::GetInstance(); in EmitterInit()