#include <avcap/osx/QT_Control.h>
Inheritance diagram for avcap::QT_Control:

The QT API supports only controls for brightness, hue, colour, contrast, depth and whiteness. They are all integer values between 0 and 65535.
Public Types | |
| enum | Ctrl { BRIGHTNESS = 0, BLACKLEVEL, WHITELEVEL, HUE, CONTRAST, SATURATION, SHARPNESS } |
Public Member Functions | |
| QT_Control (QT_DeviceDescriptor *dd, Ctrl type) | |
| virtual | ~QT_Control () |
| virtual int | getId () const |
| Get the unique identifier of the control. | |
| virtual int | getDefaultValue () const |
| Get the default value of the control. | |
| virtual const std::string & | getName () const |
| Get the name of the control. | |
| virtual int | setValue (int val) |
| Set the new value of the control. | |
| virtual int | getValue () const |
| Get the current value of the control. | |
| virtual int | reset () |
| Set the value of the control to the default value. | |
| virtual const Interval & | getInterval () const |
| Get the interval describing the range and step of valid values for this control. | |
| avcap::QT_Control::QT_Control | ( | QT_DeviceDescriptor * | dd, | |
| Ctrl | type | |||
| ) |
| virtual avcap::QT_Control::~QT_Control | ( | ) | [inline, virtual] |
| virtual int avcap::QT_Control::getId | ( | ) | const [inline, virtual] |
| virtual int avcap::QT_Control::getDefaultValue | ( | ) | const [inline, virtual] |
| virtual const std::string& avcap::QT_Control::getName | ( | ) | const [virtual] |
| virtual int avcap::QT_Control::setValue | ( | int | val | ) | [virtual] |
Set the new value of the control.
| val | : The new value. |
Implements avcap::Control.
| virtual int avcap::QT_Control::getValue | ( | ) | const [virtual] |
| virtual int avcap::QT_Control::reset | ( | ) | [virtual] |
Set the value of the control to the default value.
Implements avcap::Control.
| virtual const Interval& avcap::QT_Control::getInterval | ( | ) | const [inline, virtual] |
Get the interval describing the range and step of valid values for this control.
Implements avcap::IntegerControl.
1.5.1