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. More...
 
union {
   int   value
 The value of the control for number based controls. More...
 
   CControlRawValue   raw
 The value of the control for raw cntrols. More...
 
}; 
 

Detailed Description

A value of a control.

Field Documentation

CControlRawValue _CControlValue::raw

The value of the control for raw cntrols.

This member is valid only for control type CC_TYPE_RAW.

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

CControlType _CControlValue::type

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().

int _CControlValue::value

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_v4l2_control(), read_v4l2_control(), and write_v4l2_control().


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

Generated on Sun Apr 28 2013 23:41:32 for Webcam Library by Doxygen 1.8.3.1
Copyright © 2006-2008 Logitech.