#include <SDLInputManager.h>
Public Member Functions | |
| SDLInputManager () | |
| virtual | ~SDLInputManager () |
| virtual const std::string & | inputSystemName () |
| virtual int | numJoysticks () |
| virtual int | numMice () |
| virtual int | numKeyBoards () |
| Object * | createInputObject (Type iType, bool bufferMode) |
| void | destroyInputObject (Object *obj) |
| void | _initialize (ParamList ¶mList) |
| bool | _getGrabMode () |
| void | _setGrabMode (bool grabbed) |
Protected Member Functions | |
| void | _parseConfigSettings (ParamList ¶mList) |
| internal class method for dealing with param list | |
| void | _enumerateDevices () |
| internal class method for finding attached devices | |
Protected Attributes | |
| bool | mGrabbed |
Static Protected Attributes | |
| static const std::string | iName = "SDL Input Wrapper" |
Definition at line 34 of file SDLInputManager.h.
| SDLInputManager::SDLInputManager | ( | ) |
Definition at line 35 of file SDLInputManager.cpp.
| SDLInputManager::~SDLInputManager | ( | ) | [virtual] |
Definition at line 40 of file SDLInputManager.cpp.
| virtual const std::string& OIS::SDLInputManager::inputSystemName | ( | ) | [inline, virtual] |
Implements OIS::InputManager.
Definition at line 41 of file SDLInputManager.h.
References iName.
| int SDLInputManager::numJoysticks | ( | ) | [virtual] |
Implements OIS::InputManager.
Definition at line 67 of file SDLInputManager.cpp.
| int SDLInputManager::numMice | ( | ) | [virtual] |
Implements OIS::InputManager.
Definition at line 73 of file SDLInputManager.cpp.
| int SDLInputManager::numKeyBoards | ( | ) | [virtual] |
Implements OIS::InputManager.
Definition at line 79 of file SDLInputManager.cpp.
| Object * SDLInputManager::createInputObject | ( | Type | iType, | |
| bool | bufferMode | |||
| ) | [virtual] |
Implements OIS::InputManager.
Definition at line 85 of file SDLInputManager.cpp.
References OIS::Object::_initialize(), E_InputDeviceNotSupported, OIS_EXCEPT, OISJoyStick, OISKeyboard, and OISMouse.
| void SDLInputManager::destroyInputObject | ( | Object * | obj | ) | [virtual] |
Implements OIS::InputManager.
Definition at line 109 of file SDLInputManager.cpp.
| void SDLInputManager::_initialize | ( | ParamList & | paramList | ) | [virtual] |
Internal... Called from createInputSystem.
Implements OIS::InputManager.
Definition at line 45 of file SDLInputManager.cpp.
References _enumerateDevices(), _parseConfigSettings(), and OIS_EXCEPT.
| bool OIS::SDLInputManager::_getGrabMode | ( | ) | [inline] |
Definition at line 59 of file SDLInputManager.h.
References mGrabbed.
Referenced by OIS::SDLMouse::capture().
| void OIS::SDLInputManager::_setGrabMode | ( | bool | grabbed | ) | [inline] |
Definition at line 60 of file SDLInputManager.h.
References mGrabbed.
Referenced by OIS::SDLMouse::capture().
| void SDLInputManager::_parseConfigSettings | ( | ParamList & | paramList | ) | [protected] |
internal class method for dealing with param list
Definition at line 57 of file SDLInputManager.cpp.
Referenced by _initialize().
| void SDLInputManager::_enumerateDevices | ( | ) | [protected] |
internal class method for finding attached devices
Definition at line 62 of file SDLInputManager.cpp.
Referenced by _initialize().
const std::string SDLInputManager::iName = "SDL Input Wrapper" [static, protected] |
bool OIS::SDLInputManager::mGrabbed [protected] |
1.5.4