Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Private Member Functions | Private Attributes | List of all members
OIS::MacHIDManager Class Reference

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

Inheritance diagram for OIS::MacHIDManager:
OIS::FactoryCreator

Public Member Functions

 MacHIDManager ()
 
 ~MacHIDManager ()
 
ObjectcreateObject (InputManager *creator, Type iType, bool bufferMode, const std::string &vendor="")
 
void destroyObject (Object *obj)
 
DeviceList freeDeviceList ()
 
int freeDevices (Type iType)
 
void initialize ()
 
void iterateAndOpenDevices (io_iterator_t iterator)
 
io_iterator_t lookUpDevices (int usage, int page)
 
int totalDevices (Type iType)
 
bool vendorExist (Type iType, const std::string &vendor)
 
- Public Member Functions inherited from OIS::FactoryCreator
virtual ~FactoryCreator ()
 

Private Member Functions

HidInfoenumerateDeviceProperties (CFMutableDictionaryRef propertyMap)
 
void parseDeviceProperties (CFDictionaryRef properties)
 
void parseDevicePropertiesGroup (CFDictionaryRef properties)
 

Private Attributes

HidInfoList mDeviceList
 

Constructor & Destructor Documentation

MacHIDManager::MacHIDManager ( )
MacHIDManager::~MacHIDManager ( )

Member Function Documentation

Object * MacHIDManager::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 MacHIDManager::destroyObject ( Object obj)
virtual

Remarks
Destroys object
Parameters
objObject to destroy

Implements OIS::FactoryCreator.

HidInfo * MacHIDManager::enumerateDeviceProperties ( CFMutableDictionaryRef  propertyMap)
private
DeviceList MacHIDManager::freeDeviceList ( )
virtual

Implements OIS::FactoryCreator.

int MacHIDManager::freeDevices ( Type  iType)
virtual

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

Implements OIS::FactoryCreator.

void MacHIDManager::initialize ( )
void MacHIDManager::iterateAndOpenDevices ( io_iterator_t  iterator)
io_iterator_t MacHIDManager::lookUpDevices ( int  usage,
int  page 
)
void MacHIDManager::parseDeviceProperties ( CFDictionaryRef  properties)
private
void MacHIDManager::parseDevicePropertiesGroup ( CFDictionaryRef  properties)
private
int MacHIDManager::totalDevices ( Type  iType)
virtual

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

Implements OIS::FactoryCreator.

bool MacHIDManager::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

HidInfoList OIS::MacHIDManager::mDeviceList
private

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