Libpointing
An open-source cross-platform library to get raw events from pointing devices and master transfer functions.
Public Member Functions | Friends | List of all members
pointing::winDisplayDeviceManager Class Reference
Inheritance diagram for pointing::winDisplayDeviceManager:
pointing::DisplayDeviceManager

Public Member Functions

DisplayDescriptorSet readAllFromRegistry ()
 readAllFromRegistry More...
 
DisplayDeviceDescriptor uriFromPoint (int x, int y)
 Finds the display containing a given point. If the point is not contained within any display monitor, returns the primary monitor descriptor. More...
 
- Public Member Functions inherited from pointing::DisplayDeviceManager
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.
 
size_t size () const
 size More...
 
DisplayDescriptorIterator begin ()
 
DisplayDescriptorIterator end ()
 

Friends

class DisplayDeviceManager
 

Additional Inherited Members

- Static Public Member Functions inherited from pointing::DisplayDeviceManager
static DisplayDeviceManagerget ()
 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::DisplayDeviceManager
typedef std::set< CallbackInfo >
::iterator 
CallbackInfoIterator
 
- Protected Member Functions inherited from pointing::DisplayDeviceManager
void callCallbackFunctions (DisplayDeviceDescriptor &descriptor, bool wasAdded)
 
void addDevice (DisplayDeviceDescriptor &descriptor)
 
void removeDevice (DisplayDeviceDescriptor &descriptor)
 
- Protected Attributes inherited from pointing::DisplayDeviceManager
DeviceUpdateCallback callback
 
DisplayDescriptorSet descriptors
 
std::set< CallbackInfo > callbackInfos
 
- Static Protected Attributes inherited from pointing::DisplayDeviceManager
static DisplayDeviceManagersingleManager = 0
 

Member Function Documentation

DisplayDescriptorSet pointing::winDisplayDeviceManager::readAllFromRegistry ( )

readAllFromRegistry

Returns
All displays which were once registered
DisplayDeviceDescriptor pointing::winDisplayDeviceManager::uriFromPoint ( int  x,
int  y 
)

Finds the display containing a given point. If the point is not contained within any display monitor, returns the primary monitor descriptor.

Parameters
xThe X-coordinate of the point
yThe Y-coordinate of the point
Returns
DisplayDeviceDescriptor

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