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

#include <EventHandler.h>

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

Public 成员函数

virtual void onResize (Window *wnd, int width, int height)=0
virtual void onMouseMove (Window *wnd, int xpos, int ypos)=0
virtual void onMouseWheel (Window *wnd, int delta)=0
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 成员函数

virtual void deleteThis ()

Protected 属性

std::atomic< size_t > m_refCount

详细描述

在文件 EventHandler.h5 行定义.

成员函数说明

◆ 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 行定义.

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

◆ onKeyDown()

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

FCT::CallBackEventHandler 内被实现.

◆ onKeyUp()

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

FCT::CallBackEventHandler 内被实现.

◆ onLButtonDown()

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

FCT::CallBackEventHandler 内被实现.

◆ onLButtonUp()

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

FCT::CallBackEventHandler 内被实现.

◆ onMouseMove()

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

◆ onMouseWheel()

virtual void FCT::EventHandler::onMouseWheel ( Window * wnd,
int delta )
pure virtual

◆ onRButtonDown()

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

FCT::CallBackEventHandler 内被实现.

◆ onRButtonUp()

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

FCT::CallBackEventHandler 内被实现.

◆ onResize()

virtual void FCT::EventHandler::onResize ( Window * wnd,
int width,
int height )
pure virtual

◆ operator bool()

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

在文件 RefCount.h22 行定义.

◆ release()

void FCT::RefCount::release ( )
inlineinherited

在文件 RefCount.h13 行定义.

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

类成员变量说明

◆ m_refCount

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

在文件 RefCount.h30 行定义.


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