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

#include <MouseEvent.h>

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

Public 멤버 함수

 MouseScrolledEvent (float xOffset, float yOffset)
 
float GetXOffset () const
 
float GetYOffset () 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_XOffset
 
float m_YOffset
 

상세한 설명

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

생성자 & 소멸자 문서화

◆ MouseScrolledEvent()

Gear::MouseScrolledEvent::MouseScrolledEvent ( float  xOffset,
float  yOffset 
)
inline

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

30  : m_XOffset(xOffset), m_YOffset(yOffset)
31  {}

멤버 함수 문서화

◆ 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

◆ GetXOffset()

float Gear::MouseScrolledEvent::GetXOffset ( ) const
inline

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

32 { return m_XOffset; }

◆ GetYOffset()

float Gear::MouseScrolledEvent::GetYOffset ( ) const
inline

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

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

◆ IsInCategory()

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

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

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

◆ ToString()

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

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

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

35  {
36  std::stringstream ss;
37  ss << "MouseScrolledEvent: " << m_XOffset << ", " << m_YOffset;
38  return ss.str();
39  }

멤버 데이터 문서화

◆ m_Handled

bool Gear::Event::m_Handled = false
inherited

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

◆ m_XOffset

float Gear::MouseScrolledEvent::m_XOffset
private

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

◆ m_YOffset

float Gear::MouseScrolledEvent::m_YOffset
private

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


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