#include <input.hpp>
Inheritance diagram for gcn::Input:
Contains basic Input functions every implemented input class should have. Input classes should inherit from this class and implements it's functions.
Definition at line 74 of file input.hpp.
Public Member Functions | |
virtual | ~Input () |
Destructor. | |
virtual bool | isKeyQueueEmpty ()=0 |
Checks whether the key queue is empty or not. | |
virtual KeyInput | dequeueKeyInput ()=0 |
Dequeues the key input queue. | |
virtual bool | isMouseQueueEmpty ()=0 |
Checks whether the mouse queue is empyt or not. | |
virtual MouseInput | dequeueMouseInput ()=0 |
Dequeues the mouse input queue. | |
virtual void | _pollInput ()=0 |
Polls all exsisting input. |
virtual void gcn::Input::_pollInput | ( | ) | [pure virtual] |
Polls all exsisting input.
It exists for Input implementation compatibility. It is used internally by the library.
Implemented in gcn::AllegroInput, gcn::GLUTInput, and gcn::SDLInput.
Referenced by gcn::Gui::logic().
virtual KeyInput gcn::Input::dequeueKeyInput | ( | ) | [pure virtual] |
Dequeues the key input queue.
Implemented in gcn::AllegroInput, gcn::GLUTInput, and gcn::SDLInput.
Referenced by gcn::Gui::logic().
virtual MouseInput gcn::Input::dequeueMouseInput | ( | ) | [pure virtual] |
Dequeues the mouse input queue.
Implemented in gcn::AllegroInput, gcn::GLUTInput, and gcn::SDLInput.
Referenced by gcn::Gui::logic().
virtual bool gcn::Input::isKeyQueueEmpty | ( | ) | [pure virtual] |
Checks whether the key queue is empty or not.
Implemented in gcn::AllegroInput, gcn::GLUTInput, and gcn::SDLInput.
Referenced by gcn::Gui::logic().
virtual bool gcn::Input::isMouseQueueEmpty | ( | ) | [pure virtual] |
Checks whether the mouse queue is empyt or not.
Implemented in gcn::AllegroInput, gcn::GLUTInput, and gcn::SDLInput.
Referenced by gcn::Gui::logic().