Searched defs:MonitorEventConsumer (Results 1 – 1 of 1) sorted by relevance
63 struct MonitorEventConsumer : public IInputEventConsumer { struct64 explicit MonitorEventConsumer(const std::function<void(std::shared_ptr<PointerEvent>)> &monitor) in MonitorEventConsumer() argument67 explicit MonitorEventConsumer(const std::function<void(std::shared_ptr<KeyEvent>)> &monitor) in MonitorEventConsumer() function70 void OnInputEvent(std::shared_ptr<KeyEvent> keyEvent) const in OnInputEvent()77 void OnInputEvent(std::shared_ptr<PointerEvent> pointerEvent) const in OnInputEvent()84 void OnInputEvent(std::shared_ptr<AxisEvent> axisEvent) const in OnInputEvent()92 std::function<void(std::shared_ptr<PointerEvent>)> monitor_;93 std::function<void(std::shared_ptr<KeyEvent>)> keyMonitor_;94 std::function<void(std::shared_ptr<AxisEvent>)> axisMonitor_;