Libpointing
An open-source cross-platform library to get raw events from pointing devices and master transfer functions.
Classes | Friends | List of all members
pointing::osxPointingDeviceManager Class Reference

The osxPointingDeviceManager class is the platform-specific subclass of the PointingDeviceManager class. More...

#include <osxPointingDeviceManager.h>

Inheritance diagram for pointing::osxPointingDeviceManager:
pointing::PointingDeviceManager

Friends

class PointingDeviceManager
 
class osxPointingDevice
 

Additional Inherited Members

- Public Member Functions inherited from pointing::PointingDeviceManager
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 Public Member Functions inherited from pointing::PointingDeviceManager
static PointingDeviceManagerget ()
 This static function is used to instantiate a platform-specific object of the class or return the already existing one.
 
- Protected Types inherited from pointing::PointingDeviceManager
typedef std::list
< SystemPointingDevice * > 
PointingList
 
- Protected Member Functions inherited from pointing::PointingDeviceManager
void callCallbackFunctions (PointingDeviceDescriptor &descriptor, bool wasAdded)
 
void addDescriptor (PointingDeviceDescriptor &descriptor)
 
void removeDescriptor (PointingDeviceDescriptor &descriptor)
 
void convertAnyCandidates ()
 
void matchCandidates ()
 
void activateDevice (SystemPointingDevice *device, PointingDeviceData *pdd)
 
void printDeviceInfo (PointingDeviceData *pdd, bool add)
 
PointingDeviceDatafindDataForDevice (SystemPointingDevice *device)
 
void registerDevice (identifier key, PointingDeviceData *pdd)
 Called from subclasses. More...
 
bool unregisterDevice (identifier)
 Called from subclasses. More...
 
virtual void addPointingDevice (SystemPointingDevice *device)
 Whenever there is a PointingDevice is created or deleted those methods are called internally from a SystemPointingDevice.
 
virtual void removePointingDevice (SystemPointingDevice *device)
 Whenever there is a PointingDevice is created or deleted those methods are called internally from a SystemPointingDevice.
 
- Protected Attributes inherited from pointing::PointingDeviceManager
std::map< identifier,
PointingDeviceData * > 
devMap
 
DeviceUpdateCallback callback = NULL
 
PointingDescriptorSet descriptors
 
std::set< CallbackInfocallbackInfos
 
PointingList candidates
 
int debugLevel = 0
 
- Static Protected Attributes inherited from pointing::PointingDeviceManager
static PointingDeviceManagersingleManager = 0
 

Detailed Description

The osxPointingDeviceManager class is the platform-specific subclass of the PointingDeviceManager class.

There are no public members of this class, because all the functions are called by either its parent or osxPointingDevice which are friends of this class.


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