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

#include <Event.h>

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

Public 멤버 함수

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
 

Friends

class EventDispatcher
 

상세한 설명

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

멤버 함수 문서화

◆ GetCategoryFlags()

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

◆ GetEventType()

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

◆ GetName()

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

◆ IsInCategory()

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

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

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

◆ ToString()

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

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

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

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

Friend, 그리고 관련된 함수 문서화

◆ EventDispatcher

friend class EventDispatcher
friend

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

멤버 데이터 문서화

◆ m_Handled

bool Gear::Event::m_Handled = false

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


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