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

#include <ApplicationEvent.h>

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

Public 멤버 함수

 WindowResizeEvent (unsigned int width, unsigned int height)
 
unsigned int GetWidth () const
 
unsigned int GetHeight () 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 속성

unsigned int m_Width
 
unsigned int m_Height
 

상세한 설명

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

생성자 & 소멸자 문서화

◆ WindowResizeEvent()

Gear::WindowResizeEvent::WindowResizeEvent ( unsigned int  width,
unsigned int  height 
)
inline

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

9  :m_Width(width), m_Height(height)
10  {}

멤버 함수 문서화

◆ GetCategoryFlags()

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

◆ GetEventType()

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

◆ GetHeight()

unsigned int Gear::WindowResizeEvent::GetHeight ( ) const
inline

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

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

◆ GetName()

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

◆ GetWidth()

unsigned int Gear::WindowResizeEvent::GetWidth ( ) const
inline

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

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

◆ IsInCategory()

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

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

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

◆ ToString()

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

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

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

15  {
16  std::stringstream ss;
17  ss << "WindowResizeEvent: " << m_Width << ", " << m_Height;
18  return ss.str();
19  }

멤버 데이터 문서화

◆ m_Handled

bool Gear::Event::m_Handled = false
inherited

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

◆ m_Height

unsigned int Gear::WindowResizeEvent::m_Height
private

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

◆ m_Width

unsigned int Gear::WindowResizeEvent::m_Width
private

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


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