FCT
载入中...
搜索中...
未找到
FCT::InputStateEventHandler类 参考abstract

#include <InputStateEventHanndler.h>

类 FCT::InputStateEventHandler 继承关系图:
Inheritance graph
FCT::InputStateEventHandler 的协作图:
Collaboration graph

struct  InputState

Public 成员函数

 InputStateEventHandler ()
void setPosTransformCallback (const InputPosTransformCallback &cb)
InputPosTransformCallback getPosTransformCallback () const
void setResizeCallback (const ResizeCallBack &cb)
ResizeCallBack getResizeCallback () const
virtual void onLButtonDown (Window *wnd, int xpos, int ypos)=0
virtual void onLButtonUp (Window *wnd, int xpos, int ypos)=0
virtual void onRButtonDown (Window *wnd, int xpos, int ypos)=0
virtual void onRButtonUp (Window *wnd, int xpos, int ypos)=0
virtual void onKeyDown (Window *wnd, int key)=0
virtual void onKeyUp (Window *wnd, int key)=0
void addRef ()
void release ()
size_t count ()
 operator bool () const

Protected 成员函数

void onResize (Window *wnd, int width, int height) override
void onMouseMove (Window *wnd, int x, int y) override
void onMouseWheel (Window *wnd, int delta) override
virtual void deleteThis ()

Protected 属性

InputPosTransformCallback m_posTransformCallback
ResizeCallBack m_resizeCallback
struct FCT::InputStateEventHandler::InputState m_inputState [2]
char m_keyState [512]
InputStatem_logicInputState
InputStatem_uiInputState
std::atomic< size_t > m_refCount

详细描述

在文件 InputStateEventHanndler.h13 行定义.

构造及析构函数说明

◆ InputStateEventHandler()

FCT::InputStateEventHandler::InputStateEventHandler ( )
inline

在文件 InputStateEventHanndler.h52 行定义.

成员函数说明

◆ addRef()

void FCT::RefCount::addRef ( )
inlineinherited

在文件 RefCount.h10 行定义.

这是这个函数的调用关系图:

◆ count()

size_t FCT::RefCount::count ( )
inlineinherited

在文件 RefCount.h19 行定义.

这是这个函数的调用关系图:

◆ deleteThis()

virtual void FCT::RefCount::deleteThis ( )
inlineprotectedvirtualinherited

FCT::RHI::Fence , 以及 FCT::RHI::Semaphore 重载.

在文件 RefCount.h27 行定义.

这是这个函数的调用关系图:

◆ getPosTransformCallback()

InputPosTransformCallback FCT::InputStateEventHandler::getPosTransformCallback ( ) const
inline

在文件 InputStateEventHanndler.h60 行定义.

◆ getResizeCallback()

ResizeCallBack FCT::InputStateEventHandler::getResizeCallback ( ) const
inline

在文件 InputStateEventHanndler.h68 行定义.

◆ onKeyDown()

virtual void FCT::EventHandler::onKeyDown ( Window * wnd,
int key )
pure virtualinherited

FCT::CallBackEventHandler 内被实现.

◆ onKeyUp()

virtual void FCT::EventHandler::onKeyUp ( Window * wnd,
int key )
pure virtualinherited

FCT::CallBackEventHandler 内被实现.

◆ onLButtonDown()

virtual void FCT::EventHandler::onLButtonDown ( Window * wnd,
int xpos,
int ypos )
pure virtualinherited

FCT::CallBackEventHandler 内被实现.

◆ onLButtonUp()

virtual void FCT::EventHandler::onLButtonUp ( Window * wnd,
int xpos,
int ypos )
pure virtualinherited

FCT::CallBackEventHandler 内被实现.

◆ onMouseMove()

void FCT::InputStateEventHandler::onMouseMove ( Window * wnd,
int x,
int y )
inlineoverrideprotectedvirtual

实现了 FCT::EventHandler.

在文件 InputStateEventHanndler.h22 行定义.

◆ onMouseWheel()

void FCT::InputStateEventHandler::onMouseWheel ( Window * wnd,
int delta )
inlineoverrideprotectedvirtual

实现了 FCT::EventHandler.

在文件 InputStateEventHanndler.h26 行定义.

◆ onRButtonDown()

virtual void FCT::EventHandler::onRButtonDown ( Window * wnd,
int xpos,
int ypos )
pure virtualinherited

FCT::CallBackEventHandler 内被实现.

◆ onRButtonUp()

virtual void FCT::EventHandler::onRButtonUp ( Window * wnd,
int xpos,
int ypos )
pure virtualinherited

FCT::CallBackEventHandler 内被实现.

◆ onResize()

void FCT::InputStateEventHandler::onResize ( Window * wnd,
int width,
int height )
inlineoverrideprotectedvirtual

实现了 FCT::EventHandler.

在文件 InputStateEventHanndler.h18 行定义.

◆ operator bool()

FCT::RefCount::operator bool ( ) const
inlineinherited

在文件 RefCount.h22 行定义.

◆ release()

void FCT::RefCount::release ( )
inlineinherited

在文件 RefCount.h13 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ setPosTransformCallback()

void FCT::InputStateEventHandler::setPosTransformCallback ( const InputPosTransformCallback & cb)
inline

在文件 InputStateEventHanndler.h56 行定义.

◆ setResizeCallback()

void FCT::InputStateEventHandler::setResizeCallback ( const ResizeCallBack & cb)
inline

在文件 InputStateEventHanndler.h64 行定义.

类成员变量说明

◆ m_inputState

struct FCT::InputStateEventHandler::InputState FCT::InputStateEventHandler::m_inputState[2]
protected

◆ m_keyState

char FCT::InputStateEventHandler::m_keyState[512]
protected

在文件 InputStateEventHanndler.h48 行定义.

◆ m_logicInputState

InputState* FCT::InputStateEventHandler::m_logicInputState
protected

在文件 InputStateEventHanndler.h49 行定义.

◆ m_posTransformCallback

InputPosTransformCallback FCT::InputStateEventHandler::m_posTransformCallback
protected

在文件 InputStateEventHanndler.h16 行定义.

◆ m_refCount

std::atomic<size_t> FCT::RefCount::m_refCount
protectedinherited

在文件 RefCount.h30 行定义.

◆ m_resizeCallback

ResizeCallBack FCT::InputStateEventHandler::m_resizeCallback
protected

在文件 InputStateEventHanndler.h17 行定义.

◆ m_uiInputState

InputState* FCT::InputStateEventHandler::m_uiInputState
protected

在文件 InputStateEventHanndler.h50 行定义.


该类的文档由以下文件生成: