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

#include <MouseEvent.h>

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

Public 멤버 함수

 MouseMovedEvent (float x, float y)
 
float GetX () const
 
float GetY () const
 
std::string ToString () const override
 
virtual EventType GetEventType () const =0
 
virtual const char * GetName () const =0
 
virtual int GetCategoryFlags () const =0
 
bool IsInCategory (EventCategory category)
 

Public 속성

bool m_Handled = false
 

Private 속성

float m_MouseX
 
float m_MouseY
 

상세한 설명

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

생성자 & 소멸자 문서화

◆ MouseMovedEvent()

Gear::MouseMovedEvent::MouseMovedEvent ( float  x,
float  y 
)
inline

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

9  : m_MouseX(x), m_MouseY(y)
10  {}

멤버 함수 문서화

◆ GetCategoryFlags()

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

◆ GetEventType()

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

◆ GetName()

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

◆ GetX()

float Gear::MouseMovedEvent::GetX ( ) const
inline

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

11 { return m_MouseX; }

◆ GetY()

float Gear::MouseMovedEvent::GetY ( ) const
inline

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

12 { return m_MouseY; }

◆ IsInCategory()

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

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

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

◆ ToString()

std::string Gear::MouseMovedEvent::ToString ( ) const
inlineoverridevirtual

Gear::Event(으)로부터 재구현되었습니다.

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

14  {
15  std::stringstream ss;
16  ss << "MouseMovedEvent: " << m_MouseX << ", " << m_MouseY;
17  return ss.str();
18  }

멤버 데이터 문서화

◆ m_Handled

bool Gear::Event::m_Handled = false
inherited

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

◆ m_MouseX

float Gear::MouseMovedEvent::m_MouseX
private

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

◆ m_MouseY

float Gear::MouseMovedEvent::m_MouseY
private

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


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.:
Gear::MouseMovedEvent::m_MouseY
float m_MouseY
Definition: MouseEvent.h:24
Gear::MouseMovedEvent::m_MouseX
float m_MouseX
Definition: MouseEvent.h:24
Gear::Event::GetCategoryFlags
virtual int GetCategoryFlags() const =0