Webcam Library Reference Documentation  Logitech logo

_CControlValue Struct Reference

A value of a control. More...

#include <Common/include/webcam.h>


Data Fields

CControlType type
 The type of the control to which the value belongs.
union {
   int   value
 The value of the control for number based controls.
   CControlRawValue   raw
 The value of the control for raw cntrols.
}; 


Detailed Description

A value of a control.

Field Documentation

The value of the control for raw cntrols.

This member is valid only for control type CC_TYPE_RAW.

The type of the control to which the value belongs.

This member is used to determine which of the members of the union are valid. The type is a duplicate of the corresponding CControl::type value.

Referenced by read_v4l2_control().

The value of the control for number based controls.

This member is valid for the following control types: CC_TYPE_BOOLEAN, CC_TYPE_CHOICE, CC_TYPE_BYTE, CC_TYPE_WORD, CC_TYPE_DWORD

Referenced by create_control(), read_v4l2_control(), and write_v4l2_control().


The documentation for this struct was generated from the following file:

Generated on Wed Sep 18 20:36:53 2019 for Webcam Library by Doxygen 1.5.9
Copyright © 2006-2008 Logitech.