Solid::Ifaces::Camera
#include <camera.h>
Public Member Functions | |
~Camera () override | |
virtual QVariant | driverHandle (const QString &driver) const =0 |
virtual QStringList | supportedDrivers (QString protocol=QString()) const =0 |
virtual QStringList | supportedProtocols () const =0 |
Public Member Functions inherited from Solid::Ifaces::DeviceInterface | |
virtual | ~DeviceInterface () |
Detailed Description
This device interface is available on digital camera devices.
A digital camera is a device used to transform images into data. Nowaday most digital cameras are multifunctional and able to take photographs, video or sound. On the system side they are a particular type of device holding data, the access method can be different from the typical storage device, hence why it's a separate device interface.
Definition at line 28 of file ifaces/camera.h.
Constructor & Destructor Documentation
◆ ~Camera()
|
override |
Destroys a Camera object.
Definition at line 9 of file ifaces/camera.cpp.
Member Function Documentation
◆ driverHandle()
Retrieves a driver specific string allowing to access the device.
For example for the "gphoto" driver it will return a list of the form '("usb", vendor_id, product_id)'.
- Returns
- the driver specific data
◆ supportedDrivers()
|
pure virtual |
Retrieves known installed device drivers that claim to handle this device using the requested protocol.
- Parameters
-
protocol The protocol to get drivers for.
- Returns
- a list of known device drivers that can handle this device
◆ supportedProtocols()
|
pure virtual |
Retrieves known protocols this device can speak.
This list may be dependent on installed device driver libraries.
- Returns
- a list of known protocols this device can speak
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:47:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.