Webcam Library Reference Documentation  Logitech logo
_CControl Struct Reference

A description of a camera control. More...

#include <common/include/webcam.h>

Data Fields

CControlId id
 The identifier of the control.
 
char * name
 The human-readable name of the control.
 
CControlType type
 The type of the control.
 
CControlFlags flags
 Flags describing properties and capabilities of the control.
 
CControlValue value
 The current value of the control.
 
CControlValue def
 The default value of the control.
 
union {
   struct {
      CControlValue   min
 The minimum value of the control.
 
      CControlValue   max
 The maximum value of the control.
 
      CControlValue   step
 The resolution of the control values.
 
   } 
 
   struct {
      unsigned int   count
 The number of choices in the list.
 
      CControlChoice *   list
 The list of choice values.
 
      char *   names
 A buffer that contains the names of the CControlChoice items. More...
 
   }   choices
 
}; 
 

Detailed Description

A description of a camera control.

Field Documentation

char* _CControl::names

A buffer that contains the names of the CControlChoice items.

The name fields of the items point to strings within this buffer, so there is no need to work with this member directly except freeing the buffer if the control is disposed of.


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.