Orxonox: src/ois/mac/MacHIDManager.cpp File Reference

# MacHIDManager.cpp File Reference

`#include "mac/MacHIDManager.h"`
`#include "OISException.h"`
`#include "OISObject.h"`
`#include <iostream>`

## Functions

template<typename T>
T | getArrayItemAsRef (CFArrayRef array, CFIndex idx)
template<typename T>
T | getDictionaryItemAsRef (CFDictionaryRef dict, const char *keyName)
int | getInt32 (CFNumberRef ref)

## Function Documentation

template<typename T>

CFDictionaryRef getArrayItemAsRef | ( | CFArrayRef | array,
|  | CFIndex | idx |
| ) |  |  | `[inline]`

template<typename T>

CFNumberRef getDictionaryItemAsRef | ( | CFDictionaryRef | dict,
|  | const char * | keyName |
| ) |  |  | `[inline]`

int getInt32 | ( | CFNumberRef | ref | ) |

Referenced by OIS::MacHIDManager::parseDeviceProperties(), and OIS::MacHIDManager::parseDevicePropertiesGroup().