Home
last modified time | relevance | path

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

/base/notification/eventhandler/frameworks/napi/include/
Devents_emitter.h36 class EventHandlerInstance : public EventHandler {
38 EventHandlerInstance(const std::shared_ptr<EventRunner>& runner);
39 static std::shared_ptr<EventHandlerInstance> GetInstance();
40 ~EventHandlerInstance();
/base/notification/eventhandler/frameworks/napi/src/
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()
121 void EventHandlerInstance::ProcessEvent([[maybe_unused]] const InnerEvent::Pointer& event) in ProcessEvent()
708 eventHandler = EventHandlerInstance::GetInstance(); in EmitterInit()