Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::Input::InputHandler Class Referencefinal

#include <InputHandler.h>

+ Inheritance diagram for Divide::Input::InputHandler:

Public Member Functions

 InputHandler (InputAggregatorInterface &eventListener, Application &app) noexcept
 
- Public Member Functions inherited from Divide::SDLEventListener
 SDLEventListener () noexcept
 
virtual ~SDLEventListener ()
 
virtual bool onSDLEvent (SDL_Event event)=0
 
U64 listenerID () const noexcept
 

Protected Member Functions

bool onSDLEvent (SDL_Event event) override
 

Protected Attributes

Application_app
 
InputAggregatorInterface_eventListener
 

Detailed Description

Definition at line 46 of file InputHandler.h.

Constructor & Destructor Documentation

◆ InputHandler()

Divide::Input::InputHandler::InputHandler ( InputAggregatorInterface eventListener,
Application app 
)
explicitnoexcept

Definition at line 11 of file InputHandler.cpp.

Member Function Documentation

◆ onSDLEvent()

bool Divide::Input::InputHandler::onSDLEvent ( SDL_Event  event)
overrideprotectedvirtual

Implements Divide::SDLEventListener.

Definition at line 49 of file InputHandler.cpp.

Member Data Documentation

◆ _app

Application& Divide::Input::InputHandler::_app
protected

Definition at line 54 of file InputHandler.h.

◆ _eventListener

InputAggregatorInterface& Divide::Input::InputHandler::_eventListener
protected

Definition at line 55 of file InputHandler.h.


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