GearEngine  0.0.1
Gear::MouseButtonEvent 클래스 참조abstract

#include <MouseEvent.h>

Gear::MouseButtonEvent에 대한 상속 다이어그램 :
Inheritance graph
Gear::MouseButtonEvent에 대한 협력 다이어그램:
Collaboration graph

Public 멤버 함수

int GetMouseButton () const
 
virtual EventType GetEventType () const =0
 
virtual const char * GetName () const =0
 
virtual int GetCategoryFlags () const =0
 
virtual std::string ToString () const
 
bool IsInCategory (EventCategory category)
 

Public 속성

bool m_Handled = false
 

Protected 멤버 함수

 MouseButtonEvent (int button)
 

Protected 속성

int m_Button
 

상세한 설명

MouseEvent.h 파일의 47 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

◆ MouseButtonEvent()

Gear::MouseButtonEvent::MouseButtonEvent ( int  button)
inlineprotected

MouseEvent.h 파일의 52 번째 라인에서 정의되었습니다.

53  : m_Button(button)
54  {}

멤버 함수 문서화

◆ GetCategoryFlags()

virtual int Gear::Event::GetCategoryFlags ( ) const
pure virtualinherited

◆ GetEventType()

virtual EventType Gear::Event::GetEventType ( ) const
pure virtualinherited
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetMouseButton()

int Gear::MouseButtonEvent::GetMouseButton ( ) const
inline

MouseEvent.h 파일의 49 번째 라인에서 정의되었습니다.

49 { return m_Button; }

◆ GetName()

virtual const char* Gear::Event::GetName ( ) const
pure virtualinherited

◆ IsInCategory()

bool Gear::Event::IsInCategory ( EventCategory  category)
inlineinherited

Event.h 파일의 43 번째 라인에서 정의되었습니다.

43  {
44  return GetCategoryFlags() & category;
45  }

◆ ToString()

virtual std::string Gear::Event::ToString ( ) const
inlinevirtualinherited

Gear::MouseButtonReleasedEvent, Gear::MouseButtonPressedEvent, Gear::KeyTypedEvent, Gear::KeyReleasedEvent, Gear::MouseScrolledEvent, Gear::KeyPressedEvent, Gear::WindowResizeEvent, Gear::MouseMovedEvent에서 재구현되었습니다.

Event.h 파일의 41 번째 라인에서 정의되었습니다.

41 { return GetName(); }
이 함수를 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ m_Button

int Gear::MouseButtonEvent::m_Button
protected

MouseEvent.h 파일의 56 번째 라인에서 정의되었습니다.

◆ m_Handled

bool Gear::Event::m_Handled = false
inherited

Event.h 파일의 47 번째 라인에서 정의되었습니다.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.:
Gear::MouseButtonEvent::m_Button
int m_Button
Definition: MouseEvent.h:56
Gear::Event::GetCategoryFlags
virtual int GetCategoryFlags() const =0
Gear::Event::GetName
virtual const char * GetName() const =0