#include <avcap/windows/DS_Control.h>
Inheritance diagram for avcap::DS_IntControl:
Public Member Functions | |
DS_IntControl (DS_DeviceDescriptor *dd, struct DS_Control::Query_Ctrl *query) | |
virtual | ~DS_IntControl () |
const Interval & | getInterval () const |
Get the interval describing the range and step of valid values for this 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. |
avcap::DS_IntControl::DS_IntControl | ( | DS_DeviceDescriptor * | dd, | |
struct DS_Control::Query_Ctrl * | query | |||
) | [inline] |
virtual avcap::DS_IntControl::~DS_IntControl | ( | ) | [inline, virtual] |
const Interval& avcap::DS_IntControl::getInterval | ( | ) | const [inline, virtual] |
Get the interval describing the range and step of valid values for this control.
Implements avcap::IntegerControl.
virtual int avcap::DS_IntControl::getId | ( | ) | const [inline, virtual] |
virtual int avcap::DS_IntControl::getDefaultValue | ( | ) | const [inline, virtual] |
virtual const std::string& avcap::DS_IntControl::getName | ( | ) | const [inline, virtual] |
virtual int avcap::DS_IntControl::setValue | ( | int | val | ) | [inline, virtual] |
Set the new value of the control.
val | : The new value. |
Implements avcap::Control.
virtual int avcap::DS_IntControl::getValue | ( | ) | const [inline, virtual] |
virtual int avcap::DS_IntControl::reset | ( | ) | [inline, virtual] |
Set the value of the control to the default value.
Implements avcap::Control.