Control static metadata.
More...
Control static metadata.
The ControlId class stores a control ID, name and data type. It provides unique identification of a control, but without support for compile-time type deduction that the derived template Control class supports. See the Control class for more information.
◆ ControlId()
libcamera::ControlId::ControlId |
( |
unsigned int |
id, |
|
|
const std::string & |
name, |
|
|
ControlType |
type |
|
) |
| |
|
inline |
Construct a ControlId instance.
- Parameters
-
[in] | id | The control numerical ID |
[in] | name | The control name |
[in] | type | The control data type |
◆ id()
unsigned int libcamera::ControlId::id |
( |
| ) |
const |
|
inline |
Retrieve the control numerical ID.
- Returns
- The control numerical ID
◆ name()
const char * libcamera::ControlId::name |
( |
| ) |
const |
|
inline |
Retrieve the control name.
- Returns
- The control name
◆ type()
Retrieve the control data type.
- Returns
- The control data type
The documentation for this class was generated from the following files:
- include/libcamera/controls.h
- src/libcamera/controls.cpp