OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
PlatformEventFilter Class Reference

#include <PlatformEventFilter.h>

Inheritance diagram for PlatformEventFilter:
EngineTraceSimpleRecorder FsmEventHandler GameKeyboardController GameTraceHandler GameWindowHandler InputScriptEventHandler OverlayEventHandler Fsm FsmState CreditsState LoadStep2State MainMenuState MockFsmState StartState VideoState

Public Member Functions

 PlatformEventFilter (std::initializer_list< PlatformEventType > eventTypes)
 
 PlatformEventFilter (PlatformEventWildcard eventTypes)
 
virtual bool event (const PlatformEvent *event)
 
const std::vector< PlatformEventTypeeventTypes () const
 

Protected Member Functions

virtual bool keyPressEvent (const PlatformKeyEvent *event)
 
virtual bool keyReleaseEvent (const PlatformKeyEvent *event)
 
virtual bool mouseMoveEvent (const PlatformMouseEvent *event)
 
virtual bool mousePressEvent (const PlatformMouseEvent *event)
 
virtual bool mouseReleaseEvent (const PlatformMouseEvent *event)
 
virtual bool wheelEvent (const PlatformWheelEvent *event)
 
virtual bool moveEvent (const PlatformMoveEvent *event)
 
virtual bool resizeEvent (const PlatformResizeEvent *event)
 
virtual bool activationEvent (const PlatformWindowEvent *event)
 
virtual bool closeEvent (const PlatformWindowEvent *event)
 
virtual bool gamepadConnectionEvent (const PlatformGamepadEvent *event)
 
virtual bool gamepadKeyPressEvent (const PlatformGamepadKeyEvent *event)
 
virtual bool gamepadKeyReleaseEvent (const PlatformGamepadKeyEvent *event)
 
virtual bool gamepadAxisEvent (const PlatformGamepadAxisEvent *event)
 
virtual bool nativeEvent (const PlatformNativeEvent *event)
 
virtual bool textInputEvent (const PlatformTextInputEvent *event)
 

Private Attributes

std::vector< PlatformEventType_eventTypes
 

Constructor & Destructor Documentation

◆ PlatformEventFilter() [1/2]

PlatformEventFilter::PlatformEventFilter ( std::initializer_list< PlatformEventType eventTypes)
explicit

◆ PlatformEventFilter() [2/2]

PlatformEventFilter::PlatformEventFilter ( PlatformEventWildcard  eventTypes)
explicit

Member Function Documentation

◆ activationEvent()

bool PlatformEventFilter::activationEvent ( const PlatformWindowEvent event)
protectedvirtual

Reimplemented in GameWindowHandler.

◆ closeEvent()

bool PlatformEventFilter::closeEvent ( const PlatformWindowEvent event)
protectedvirtual

Reimplemented in GameWindowHandler.

◆ event()

bool PlatformEventFilter::event ( const PlatformEvent event)
virtual

Reimplemented in EngineTraceSimpleRecorder, and Fsm.

◆ eventTypes()

const std::vector< PlatformEventType > PlatformEventFilter::eventTypes ( ) const
inline

◆ gamepadAxisEvent()

bool PlatformEventFilter::gamepadAxisEvent ( const PlatformGamepadAxisEvent event)
protectedvirtual

Reimplemented in GameWindowHandler.

◆ gamepadConnectionEvent()

bool PlatformEventFilter::gamepadConnectionEvent ( const PlatformGamepadEvent event)
protectedvirtual

Reimplemented in GameWindowHandler.

◆ gamepadKeyPressEvent()

bool PlatformEventFilter::gamepadKeyPressEvent ( const PlatformGamepadKeyEvent event)
protectedvirtual

Reimplemented in GameWindowHandler.

◆ gamepadKeyReleaseEvent()

bool PlatformEventFilter::gamepadKeyReleaseEvent ( const PlatformGamepadKeyEvent event)
protectedvirtual

Reimplemented in GameWindowHandler.

◆ keyPressEvent()

bool PlatformEventFilter::keyPressEvent ( const PlatformKeyEvent event)
protectedvirtual

◆ keyReleaseEvent()

bool PlatformEventFilter::keyReleaseEvent ( const PlatformKeyEvent event)
protectedvirtual

◆ mouseMoveEvent()

bool PlatformEventFilter::mouseMoveEvent ( const PlatformMouseEvent event)
protectedvirtual

Reimplemented in GameWindowHandler.

◆ mousePressEvent()

bool PlatformEventFilter::mousePressEvent ( const PlatformMouseEvent event)
protectedvirtual

◆ mouseReleaseEvent()

bool PlatformEventFilter::mouseReleaseEvent ( const PlatformMouseEvent event)
protectedvirtual

Reimplemented in GameWindowHandler, and OverlayEventHandler.

◆ moveEvent()

bool PlatformEventFilter::moveEvent ( const PlatformMoveEvent event)
protectedvirtual

Reimplemented in GameWindowHandler.

◆ nativeEvent()

bool PlatformEventFilter::nativeEvent ( const PlatformNativeEvent event)
protectedvirtual

Reimplemented in OverlayEventHandler.

◆ resizeEvent()

bool PlatformEventFilter::resizeEvent ( const PlatformResizeEvent event)
protectedvirtual

Reimplemented in GameWindowHandler.

◆ textInputEvent()

bool PlatformEventFilter::textInputEvent ( const PlatformTextInputEvent event)
protectedvirtual

◆ wheelEvent()

bool PlatformEventFilter::wheelEvent ( const PlatformWheelEvent event)
protectedvirtual

Reimplemented in GameWindowHandler, and OverlayEventHandler.

Member Data Documentation

◆ _eventTypes

std::vector<PlatformEventType> PlatformEventFilter::_eventTypes
private

The documentation for this class was generated from the following files: