The PointingDeviceManager class is a helper class which enumerates the list of existing pointing devices. This class is a singleton which calls its platform-specific subclass constructor.
More...
#include <PointingDeviceManager.h>
|
void | addDeviceUpdateCallback (DeviceUpdateCallback callback, void *context) |
| Adds the callback function which is called when a device was added or removed.
|
|
void | removeDeviceUpdateCallback (DeviceUpdateCallback callback, void *context) |
| Removes the callback function which is called when a device was added or removed.
|
|
URI | anyToSpecific (const URI &anyURI) const |
| anyToSpecific Converts a given URI into platform-specific unique URI More...
|
|
URI | generalizeAny (const URI &anyURI) const |
| generalizeAny Remove all arguments from the given any: URI except for vendor vendor and product arguments More...
|
|
size_t | size () const |
| size More...
|
|
|
PointingDescriptorIterator | begin () |
|
PointingDescriptorIterator | end () |
|
|
static PointingDeviceManager * | get () |
| This static function is used to instantiate a platform-specific object of the class or return the already existing one.
|
|
|
std::map< identifier,
PointingDeviceData * > | devMap |
|
PointingList | candidates |
|
int | debugLevel = 0 |
|
|
class | SystemPointingDevice |
|
The PointingDeviceManager class is a helper class which enumerates the list of existing pointing devices. This class is a singleton which calls its platform-specific subclass constructor.
Provides functionality to handle newly added or removed devices.
URI pointing::PointingDeviceManager::anyToSpecific |
( |
const URI & |
anyURI | ) |
const |
anyToSpecific Converts a given URI into platform-specific unique URI
- Parameters
-
anyURI | URI with any scheme |
- Returns
- platform-specific URI
URI pointing::PointingDeviceManager::generalizeAny |
( |
const URI & |
anyURI | ) |
const |
generalizeAny Remove all arguments from the given any: URI except for vendor vendor and product arguments
- Parameters
-
anyURI | URI with any scheme |
- Returns
- URI with only vendor and product query arguments
void pointing::PointingDeviceManager::registerDevice |
( |
identifier |
key, |
|
|
PointingDeviceData * |
pdd |
|
) |
| |
|
protected |
Called from subclasses.
- Parameters
-
key | platform-specific unique identifier |
pdd | Pointer to the platform-specific data associated with the device |
size_t pointing::PointingDeviceManager::size |
( |
| ) |
const |
|
inline |
size
- Returns
- The number of Pointing Devices
The documentation for this class was generated from the following files: