#include <avcap/linux/V4L2_CtrlClassControl.h>
Inheritance diagram for avcap::V4L2_CtrlClassControl:
Public Member Functions | |
V4L2_CtrlClassControl (V4L2_DeviceDescriptor *dd, struct v4l2_queryctrl *query) | |
virtual | ~V4L2_CtrlClassControl () |
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. |
avcap::V4L2_CtrlClassControl::V4L2_CtrlClassControl | ( | V4L2_DeviceDescriptor * | dd, | |
struct v4l2_queryctrl * | query | |||
) | [inline] |
virtual avcap::V4L2_CtrlClassControl::~V4L2_CtrlClassControl | ( | ) | [inline, virtual] |
virtual int avcap::V4L2_CtrlClassControl::getId | ( | ) | const [inline, virtual] |
virtual int avcap::V4L2_CtrlClassControl::getDefaultValue | ( | ) | const [inline, virtual] |
virtual const std::string& avcap::V4L2_CtrlClassControl::getName | ( | ) | const [inline, virtual] |
virtual int avcap::V4L2_CtrlClassControl::setValue | ( | int | val | ) | [inline, virtual] |
Set the new value of the control.
val | : The new value. |
Implements avcap::Control.
virtual int avcap::V4L2_CtrlClassControl::getValue | ( | ) | const [inline, virtual] |
virtual int avcap::V4L2_CtrlClassControl::reset | ( | ) | [inline, virtual] |
Set the value of the control to the default value.
Implements avcap::Control.