#include <avcap/linux/V4L2_ControlBase.h>
Implements common methods of V4L2-controls.
Public Member Functions | |
| V4L2_ControlBase (V4L2_DeviceDescriptor *dd, struct v4l2_queryctrl *query) | |
| virtual | ~V4L2_ControlBase () |
| int | getId () const |
| int | getDefaultValue () const |
| const std::string & | getName () const |
| virtual int | setValue (int val) |
| virtual int | getValue () const |
| virtual int | reset () |
| __u32 | getFlags () const |
| Return the flags of the v4l2_queryctrl structure associated with the control. | |
Protected Member Functions | |
| int | update () |
Protected Attributes | |
| V4L2_DeviceDescriptor * | mDeviceDescriptor |
| int | mId |
| int | mValue |
| avcap::V4L2_ControlBase::V4L2_ControlBase | ( | V4L2_DeviceDescriptor * | dd, | |
| struct v4l2_queryctrl * | query | |||
| ) |
| virtual avcap::V4L2_ControlBase::~V4L2_ControlBase | ( | ) | [virtual] |
| int avcap::V4L2_ControlBase::getId | ( | ) | const [inline] |
| int avcap::V4L2_ControlBase::getDefaultValue | ( | ) | const [inline] |
| const std::string& avcap::V4L2_ControlBase::getName | ( | ) | const [inline] |
| virtual int avcap::V4L2_ControlBase::setValue | ( | int | val | ) | [virtual] |
| virtual int avcap::V4L2_ControlBase::getValue | ( | ) | const [virtual] |
| virtual int avcap::V4L2_ControlBase::reset | ( | ) | [virtual] |
| __u32 avcap::V4L2_ControlBase::getFlags | ( | ) | const [inline] |
Return the flags of the v4l2_queryctrl structure associated with the control.
| int avcap::V4L2_ControlBase::update | ( | ) | [protected] |
int avcap::V4L2_ControlBase::mId [protected] |
int avcap::V4L2_ControlBase::mValue [protected] |
1.5.1