#include <OISInputManager.h>
Public Member Functions | |
| virtual const std::string & | inputSystemName ()=0 |
| virtual int | numJoysticks ()=0 |
| virtual int | numMice ()=0 |
| virtual int | numKeyBoards ()=0 |
| virtual Object * | createInputObject (Type iType, bool bufferMode)=0 |
| virtual void | destroyInputObject (Object *obj)=0 |
Static Public Member Functions | |
| static unsigned int | getVersionNumber () |
| static const char * | getVersionName () |
| static InputManager * | createInputSystem (std::size_t winHandle) |
| static InputManager * | createInputSystem (ParamList ¶mList) |
| static void | destroyInputSystem (InputManager *manager) |
Protected Member Functions | |
| virtual void | _initialize (ParamList ¶mList)=0 |
| Internal... Called from createInputSystem. | |
| InputManager () | |
| virtual | ~InputManager () |
Definition at line 34 of file OISInputManager.h.
| OIS::InputManager::InputManager | ( | ) | [inline, protected] |
Definition at line 123 of file OISInputManager.h.
| virtual OIS::InputManager::~InputManager | ( | ) | [inline, protected, virtual] |
Definition at line 124 of file OISInputManager.h.
| unsigned int InputManager::getVersionNumber | ( | ) | [static] |
Definition at line 45 of file OISInputManager.cpp.
References OIS_VERSION.
Referenced by initOIS().
| const char * InputManager::getVersionName | ( | ) | [static] |
Definition at line 51 of file OISInputManager.cpp.
References gVersionName.
Referenced by initOIS().
| InputManager * InputManager::createInputSystem | ( | std::size_t | winHandle | ) | [static] |
| winHandle | Contains OS specific window handle (such as HWND or X11 Window) |
Definition at line 57 of file OISInputManager.cpp.
| InputManager * InputManager::createInputSystem | ( | ParamList & | paramList | ) | [static] |
| paramList | ParamList contains OS specific info (such as HWND and HINSTANCE for window apps), and access mode. |
Definition at line 68 of file OISInputManager.cpp.
References _initialize(), and OIS_EXCEPT.
| virtual const std::string& OIS::InputManager::inputSystemName | ( | ) | [pure virtual] |
Implemented in OIS::LinuxInputManager, OIS::MacInputManager, OIS::SDLInputManager, and OIS::Win32InputManager.
Referenced by doStartup(), and initOIS().
| void InputManager::destroyInputSystem | ( | InputManager * | manager | ) | [static] |
| manager | Manager to destroy |
Definition at line 100 of file OISInputManager.cpp.
| virtual int OIS::InputManager::numJoysticks | ( | ) | [pure virtual] |
Implemented in OIS::LinuxInputManager, OIS::MacInputManager, OIS::SDLInputManager, and OIS::Win32InputManager.
Referenced by doStartup().
| virtual int OIS::InputManager::numMice | ( | ) | [pure virtual] |
Implemented in OIS::LinuxInputManager, OIS::MacInputManager, OIS::SDLInputManager, and OIS::Win32InputManager.
| virtual int OIS::InputManager::numKeyBoards | ( | ) | [pure virtual] |
Implemented in OIS::LinuxInputManager, OIS::MacInputManager, OIS::SDLInputManager, and OIS::Win32InputManager.
| virtual Object* OIS::InputManager::createInputObject | ( | Type | iType, | |
| bool | bufferMode | |||
| ) | [pure virtual] |
Implemented in OIS::LinuxInputManager, OIS::MacInputManager, OIS::SDLInputManager, and OIS::Win32InputManager.
Referenced by doStartup(), and initOIS().
| virtual void OIS::InputManager::destroyInputObject | ( | Object * | obj | ) | [pure virtual] |
Implemented in OIS::LinuxInputManager, OIS::MacInputManager, OIS::SDLInputManager, and OIS::Win32InputManager.
Referenced by main().
| virtual void OIS::InputManager::_initialize | ( | ParamList & | paramList | ) | [protected, pure virtual] |
Internal... Called from createInputSystem.
Implemented in OIS::LinuxInputManager, OIS::MacInputManager, OIS::SDLInputManager, and OIS::Win32InputManager.
Referenced by createInputSystem().
1.5.4