| Webcam Library Reference Documentation | ![]() |
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 | |
| }; | |
A description of a camera control.
| 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.