#include <inputsystemsdl.h>
Inheritance diagram for InputSystemSDL:
Public Member Functions | |
InputSystemSDL () | |
virtual | ~InputSystemSDL () |
virtual bool | Init (kerosin::InputServer *inputServer) |
init the subsystem | |
virtual bool | CreateDevice (const std::string &deviceName) |
creates an instance of a device via zeitgeist object creation. | |
SDL_mutex * | GetMutex () const |
int | EventFilter (const SDL_Event *event) |
virtual void | AddInput (kerosin::InputServer::Input &input) |
add the input to the queue | |
virtual bool | GetInput (kerosin::InputServer::Input &input) |
retrieve an input from the queue | |
Protected Member Functions | |
virtual bool | UpdateTimerInput (kerosin::InputServer::Input &input) |
Private Attributes | |
SDL_mutex * | mMutex |
boost::shared_ptr< TimerSDL > | mTimer |
Definition at line 39 of file inputsystemsdl.h.
|
Definition at line 59 of file inputsystemsdl.cpp. |
|
Definition at line 64 of file inputsystemsdl.cpp. References mMutex. |
|
add the input to the queue
Reimplemented from kerosin::InputSystem. Definition at line 167 of file inputsystemsdl.cpp. References mMutex. |
|
creates an instance of a device via zeitgeist object creation. Should use name mangling. Implements kerosin::InputSystem. Definition at line 98 of file inputsystemsdl.cpp. References zeitgeist::Node::AddChildReference(), zeitgeist::Object::GetCore(), zeitgeist::Object::GetLog(), mMutex, and mTimer. Here is the call graph for this function: ![]() |
|
Definition at line 146 of file inputsystemsdl.cpp. References zeitgeist::Node::mChildren, and mMutex. Referenced by EventFilterCallback(). |
|
retrieve an input from the queue
Reimplemented from kerosin::InputSystem. Definition at line 174 of file inputsystemsdl.cpp. References mMutex. |
|
|
|
init the subsystem
Reimplemented from kerosin::InputSystem. Definition at line 75 of file inputsystemsdl.cpp. References EventFilterCallback(), zeitgeist::Object::GetLog(), and mMutex. Here is the call graph for this function: ![]() |
|
Reimplemented from kerosin::InputSystem. Definition at line 183 of file inputsystemsdl.cpp. References mTimer. |
|
Definition at line 67 of file inputsystemsdl.h. Referenced by AddInput(), CreateDevice(), EventFilter(), GetInput(), Init(), and ~InputSystemSDL(). |
|
Definition at line 69 of file inputsystemsdl.h. Referenced by CreateDevice(), and UpdateTimerInput(). |