Emergency 20 Dokumentation  4.2.0
em5::GlobalInputHandler Class Reference

EMERGENCY 5 global input handler class. More...

#include <GlobalInputHandler.h>

Inheritance diagram for em5::GlobalInputHandler:
qsf::InputHandler qsf::InputListener

Public Member Functions

 GlobalInputHandler (uint32 id)
 Constructor. More...
 
virtual ~GlobalInputHandler ()
 Destructor. More...
 
void update ()
 Update method that gets regularly called. More...
 
- Public Member Functions inherited from qsf::InputHandler
 InputHandler (uint32 id)
 Constructor. More...
 
virtual ~InputHandler ()
 Destructor. More...
 
uint32 getId ()
 Return the handler's ID. More...
 
virtual void initialize ()
 Gets called after the input handler was created -> This is needed to support special initialization in derived classes. More...
 
virtual void updateInputHandler (const Time &timePassed)
 Update the input handler. More...
 
- Public Member Functions inherited from qsf::InputListener
 InputListener ()
 Default constructor. More...
 
virtual ~InputListener ()
 Destructor. More...
 
WindowgetFocusWindow () const
 Return the focus window. More...
 
void setFocusWindow (Window *focusWindow)
 Set focus window. More...
 

Protected Member Functions

virtual void eventReceived (const qsf::InputEvent &inputEvent, Response &response) override
 React to input events. More...
 

Detailed Description

EMERGENCY 5 global input handler class.

Constructor & Destructor Documentation

em5::GlobalInputHandler::GlobalInputHandler ( uint32  id)
explicit

Constructor.

virtual em5::GlobalInputHandler::~GlobalInputHandler ( )
virtual

Destructor.

Member Function Documentation

virtual void em5::GlobalInputHandler::eventReceived ( const qsf::InputEvent inputEvent,
Response response 
)
overrideprotectedvirtual

React to input events.

Reimplemented from qsf::InputHandler.

void em5::GlobalInputHandler::update ( )

Update method that gets regularly called.


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