Kiwano Engine v1.3.x
kiwano::KeyEvent类 参考

键盘事件 更多...

#include <KeyEvent.h>

类 kiwano::KeyEvent 继承关系图:
kiwano::Event kiwano::RefObject kiwano::Noncopyable kiwano::IMEInputEvent kiwano::KeyCharEvent kiwano::KeyDownEvent kiwano::KeyUpEvent

Public 成员函数

 KeyEvent (const EventType &type)
 
- Public 成员函数 继承自 kiwano::Event
 Event (const EventType &type)
 构造事件
 
const EventTypeGetType () const
 获取类型事件
 
template<typename _Ty >
bool IsType () const
 判断事件类型 更多...
 
template<typename _Ty >
const _Ty * Cast () const
 转换为其他类型事件 更多...
 
template<typename _Ty >
_Ty * Cast ()
 转换为其他类型事件 更多...
 
- Public 成员函数 继承自 kiwano::RefObject
void Retain ()
 增加引用计数
 
void Release ()
 减少引用计数
 
uint32_t GetRefCount () const
 获取引用计数
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 kiwano::RefObject
static void * operator new (size_t size)
 
static void operator delete (void *ptr)
 
static void * operator new (size_t size, std::nothrow_t const &) noexcept
 
static void operator delete (void *ptr, std::nothrow_t const &) noexcept
 
static void * operator new (size_t size, void *ptr) noexcept
 
static void operator delete (void *ptr, void *place) noexcept
 

详细描述

键盘事件