OIS::MacInputManager Class Reference

#include <MacInputManager.h>

Inheritance diagram for OIS::MacInputManager:
[legend]
Collaboration diagram for OIS::MacInputManager:
[legend]

List of all members.

Public Member Functions

 MacInputManager ()
virtual ~MacInputManager ()
virtual const std::string & inputSystemName ()
virtual int numJoysticks ()
virtual int numMice ()
virtual int numKeyBoards ()
ObjectcreateInputObject (Type iType, bool bufferMode)
void destroyInputObject (Object *obj)
WindowRef _getWindow ()

Protected Member Functions

void _initialize (ParamList &paramList)
 Internal... Called from createInputSystem.
void _parseConfigSettings (ParamList &paramList)
void _enumerateDevices ()

Protected Attributes

WindowRef window
bool hideMouse
bool useRepeat

Static Protected Attributes

static const std::string iName = "Mac OSX Input Manager"


Detailed Description

Definition at line 35 of file MacInputManager.h.


Constructor & Destructor Documentation

MacInputManager::MacInputManager (  ) 

Definition at line 38 of file MacInputManager.cpp.

References hideMouse, and useRepeat.

MacInputManager::~MacInputManager (  )  [virtual]

Definition at line 47 of file MacInputManager.cpp.


Member Function Documentation

virtual const std::string& OIS::MacInputManager::inputSystemName (  )  [inline, virtual]

Remarks:
Gets the name of the current input system.. eg. "Win32", "Linux", "XBox", etc

Implements OIS::InputManager.

Definition at line 41 of file MacInputManager.h.

References iName.

int MacInputManager::numJoysticks (  )  [virtual]

Remarks:
Returns the number of joysticks found

Implements OIS::InputManager.

Definition at line 96 of file MacInputManager.cpp.

int MacInputManager::numMice (  )  [virtual]

Remarks:
Returns the number of mice found

Implements OIS::InputManager.

Definition at line 102 of file MacInputManager.cpp.

int MacInputManager::numKeyBoards (  )  [virtual]

Remarks:
Returns the number of keyboards found

Implements OIS::InputManager.

Definition at line 108 of file MacInputManager.cpp.

Object * MacInputManager::createInputObject ( Type  iType,
bool  bufferMode 
) [virtual]

Remarks:
Returns the type of input requested or raises Exception

Implements OIS::InputManager.

Definition at line 114 of file MacInputManager.cpp.

References OIS::Object::_initialize(), OISJoyStick, OISKeyboard, OISMouse, and useRepeat.

void MacInputManager::destroyInputObject ( Object obj  )  [virtual]

Remarks:
Destroys Input Object

Implements OIS::InputManager.

Definition at line 150 of file MacInputManager.cpp.

WindowRef OIS::MacInputManager::_getWindow (  )  [inline]

Definition at line 53 of file MacInputManager.h.

References window.

void MacInputManager::_initialize ( ParamList paramList  )  [protected, virtual]

Internal... Called from createInputSystem.

Implements OIS::InputManager.

Definition at line 53 of file MacInputManager.cpp.

References _enumerateDevices(), and _parseConfigSettings().

void MacInputManager::_parseConfigSettings ( ParamList paramList  )  [protected]

Definition at line 62 of file MacInputManager.cpp.

References useRepeat, and window.

Referenced by _initialize().

void MacInputManager::_enumerateDevices (  )  [protected]

Definition at line 91 of file MacInputManager.cpp.

Referenced by _initialize().


Member Data Documentation

const std::string MacInputManager::iName = "Mac OSX Input Manager" [static, protected]

Definition at line 62 of file MacInputManager.h.

Referenced by inputSystemName().

WindowRef OIS::MacInputManager::window [protected]

Definition at line 65 of file MacInputManager.h.

Referenced by _getWindow(), and _parseConfigSettings().

bool OIS::MacInputManager::hideMouse [protected]

Definition at line 68 of file MacInputManager.h.

Referenced by MacInputManager().

bool OIS::MacInputManager::useRepeat [protected]

Definition at line 69 of file MacInputManager.h.

Referenced by _parseConfigSettings(), createInputObject(), and MacInputManager().


The documentation for this class was generated from the following files:
Generated on Sat Dec 1 20:13:54 2007 for OIS by  doxygen 1.5.4