Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
OIS::MacInputManager Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/mac/MacInputManager.h>

Inheritance diagram for OIS::MacInputManager:
OIS::InputManager OIS::FactoryCreator

Public Member Functions

 MacInputManager ()
 
virtual ~MacInputManager ()
 
EventTargetRef _getEventTarget ()
 methodfor getting the event target More...
 
WindowRef _getWindow ()
 method for getting window More...
 
void _initialize (ParamList &paramList)
 
void _setKeyboardUsed (bool used)
 Internal method, used for flaggin keyboard as available/unavailable for creation. More...
 
void _setMouseUsed (bool used)
 Internal method, used for flaggin mouse as available/unavailable for creation. More...
 
ObjectcreateObject (InputManager *creator, Type iType, bool bufferMode, const std::string &vendor="")
 
void destroyObject (Object *obj)
 
DeviceList freeDeviceList ()
 
int freeDevices (Type iType)
 
int totalDevices (Type iType)
 
bool vendorExist (Type iType, const std::string &vendor)
 
- Public Member Functions inherited from OIS::InputManager
void addFactoryCreator (FactoryCreator *factory)
 
ObjectcreateInputObject (Type iType, bool bufferMode, const std::string &vendor="")
 
void destroyInputObject (Object *obj)
 
void enableAddOnFactory (AddOnFactories factory)
 
int getNumberOfDevices (Type iType)
 
const std::string & getVersionName ()
 
const std::string & inputSystemName ()
 
DeviceList listFreeDevices ()
 
void removeFactoryCreator (FactoryCreator *factory)
 
- Public Member Functions inherited from OIS::FactoryCreator
virtual ~FactoryCreator ()
 

Protected Member Functions

void _enumerateDevices ()
 
void _parseConfigSettings (ParamList &paramList)
 
- Protected Member Functions inherited from OIS::InputManager
 InputManager (const std::string &name)
 
virtual ~InputManager ()
 

Protected Attributes

bool keyboardUsed
 Used to know if we used up keyboard. More...
 
EventTargetRef mEventTargetRef
 
bool mHideMouse
 
MacHIDManagermHIDManager
 HID Manager class handling devices other than keyboard/mouse. More...
 
bool mouseUsed
 Used to know if we used up mouse. More...
 
bool mUseRepeat
 
WindowRef mWindow
 
- Protected Attributes inherited from OIS::InputManager
LIRCFactoryCreator * m_lircSupport
 Extra factory (not enabled by default) More...
 
const std::string m_VersionName
 OIS Version name. More...
 
WiiMoteFactoryCreator * m_wiiMoteSupport
 
FactoryList mFactories
 FactoryCreator list. More...
 
FactoryCreatedObject mFactoryObjects
 Factory created objects - useful so we can find creator to send destruction request to. More...
 
const std::string mInputSystemName
 Name of the input system. More...
 

Static Protected Attributes

static const std::string iName
 

Additional Inherited Members

- Public Types inherited from OIS::InputManager
enum  AddOnFactories { AddOn_All = 0, AddOn_LIRC = 1, AddOn_WiiMote = 2 }
 All generic devices OIS supports internally (if they are compiled in) More...
 
- Static Public Member Functions inherited from OIS::InputManager
static InputManagercreateInputSystem (std::size_t winHandle)
 
static InputManagercreateInputSystem (ParamList &paramList)
 
static void destroyInputSystem (InputManager *manager)
 
static unsigned int getVersionNumber ()
 

Constructor & Destructor Documentation

MacInputManager::MacInputManager ( )
MacInputManager::~MacInputManager ( )
virtual

Member Function Documentation

void MacInputManager::_enumerateDevices ( )
protected
EventTargetRef OIS::MacInputManager::_getEventTarget ( )
inline

methodfor getting the event target

WindowRef OIS::MacInputManager::_getWindow ( )
inline

method for getting window

void MacInputManager::_initialize ( ParamList paramList)
virtual

Remarks
Called from createInputSystem, gives derived input class a chance to setup after it is created

Implements OIS::InputManager.

void MacInputManager::_parseConfigSettings ( ParamList paramList)
protected
void OIS::MacInputManager::_setKeyboardUsed ( bool  used)
inline

Internal method, used for flaggin keyboard as available/unavailable for creation.

void OIS::MacInputManager::_setMouseUsed ( bool  used)
inline

Internal method, used for flaggin mouse as available/unavailable for creation.

Object * MacInputManager::createObject ( InputManager creator,
Type  iType,
bool  bufferMode,
const std::string &  vendor = "" 
)
virtual

Remarks
Creates the object
Parameters
iTypeType to create
bufferModeTrue to setup for buffered events
vendorCreate a device with the vendor name, "" means vendor name is unimportant

Implements OIS::FactoryCreator.

void MacInputManager::destroyObject ( Object obj)
virtual

Remarks
Destroys object
Parameters
objObject to destroy

Implements OIS::FactoryCreator.

DeviceList MacInputManager::freeDeviceList ( )
virtual

Implements OIS::FactoryCreator.

int MacInputManager::freeDevices ( Type  iType)
virtual

Remarks
Number of free devices of requested type
Parameters
iTypeType of devices to check

Implements OIS::FactoryCreator.

int MacInputManager::totalDevices ( Type  iType)
virtual

Remarks
Number of total devices of requested type
Parameters
iTypeType of devices to check

Implements OIS::FactoryCreator.

bool MacInputManager::vendorExist ( Type  iType,
const std::string &  vendor 
)
virtual

Remarks
Does a Type exist with the given vendor name
Parameters
iTypeType to check
vendorVendor name to test

Implements OIS::FactoryCreator.

Member Data Documentation

const std::string OIS::MacInputManager::iName
staticprotected
bool OIS::MacInputManager::keyboardUsed
protected

Used to know if we used up keyboard.

EventTargetRef OIS::MacInputManager::mEventTargetRef
protected
bool OIS::MacInputManager::mHideMouse
protected
MacHIDManager* OIS::MacInputManager::mHIDManager
protected

HID Manager class handling devices other than keyboard/mouse.

bool OIS::MacInputManager::mouseUsed
protected

Used to know if we used up mouse.

bool OIS::MacInputManager::mUseRepeat
protected
WindowRef OIS::MacInputManager::mWindow
protected

The documentation for this class was generated from the following files: