22#include <kiwano/core/Common.h>
23#include <kiwano/core/IntrusiveList.h>
24#include <kiwano/base/ObjectBase.h>
25#include <kiwano/event/Events.h>
100 bool IsRunning()
const;
104 bool IsRemoveable()
const;
108 bool IsSwallowEnabled()
const;
113 void SetSwallowEnabled(
bool enabled);
事件分发器
Definition: EventDispatcher.h:36
事件监听器
Definition: EventListener.h:48
bool IsRemoveable() const
是否可移除
Definition: EventListener.h:147
bool IsRunning() const
是否正在运行
Definition: EventListener.h:142
void Stop()
停止监听器
Definition: EventListener.h:132
void Start()
启动监听器
Definition: EventListener.h:127
void Remove()
移除监听器
Definition: EventListener.h:137
bool IsSwallowEnabled() const
是否开启消息吞没
Definition: EventListener.h:152
virtual void Handle(Event *evt)=0
处理消息
void SetSwallowEnabled(bool enabled)
设置消息吞没功能
Definition: EventListener.h:157
事件类型
Definition: EventType.h:36
Definition: Function.h:228
侵入式链表元素
Definition: IntrusiveList.h:434
侵入式链表
Definition: IntrusiveList.h:34
基础对象
Definition: ObjectBase.h:138
引用计数智能指针
Definition: RefBasePtr.hpp:35