Webcam Library Reference Documentation  Logitech logo

_CControlValue Struct Reference

#include <Common/include/webcam.h>


Detailed Description

A value of a control.

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.
}; 

Field Documentation

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 value of the control for raw cntrols.

This member is valid only for control type CC_TYPE_RAW.


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

Generated on Wed Nov 20 09:37:42 2013 for Webcam Library by Doxygen 1.5.6
Copyright © 2006-2008 Logitech.