libcamera  v0.2.0+85-1c5830a9
Supporting cameras in Linux since 2019
Public Member Functions | List of all members
libcamera::ControlId Class Reference

Control static metadata. More...

Inheritance diagram for libcamera::ControlId:
Inheritance graph

Public Member Functions

 ControlId (unsigned int id, const std::string &name, ControlType type)
 Construct a ControlId instance. More...
unsigned int id () const
 Retrieve the control numerical ID. More...
const std::string & name () const
 Retrieve the control name. More...
ControlType type () const
 Retrieve the control data type. More...

Detailed Description

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.

Constructor & Destructor Documentation

◆ ControlId()

libcamera::ControlId::ControlId ( unsigned int  id,
const std::string &  name,
ControlType  type 

Construct a ControlId instance.

[in]idThe control numerical ID
[in]nameThe control name
[in]typeThe control data type

Member Function Documentation

◆ id()

unsigned int libcamera::ControlId::id ( ) const

Retrieve the control numerical ID.

The control numerical ID

◆ name()

const char * libcamera::ControlId::name ( ) const

Retrieve the control name.

The control name

◆ type()

ControlType libcamera::ControlId::type ( ) const

Retrieve the control data type.

The control data type

The documentation for this class was generated from the following files: