A control validator for Camera instances. More...


Public Member Functions | |
| CameraControlValidator (Camera *camera) | |
| Construst a CameraControlValidator for the camera. | |
| const std::string & | name () const override |
| Retrieve the name of the object associated with the validator. | |
| bool | validate (unsigned int id) const override |
| Validate a control. | |
A control validator for Camera instances.
This ControlValidator specialisation validates that controls exist in the Camera associated with the validator.
| libcamera::CameraControlValidator::CameraControlValidator | ( | Camera * | camera | ) |
Construst a CameraControlValidator for the camera.
| [in] | camera | The camera |
|
overridevirtual |
Retrieve the name of the object associated with the validator.
Implements libcamera::ControlValidator.
|
overridevirtual |
Validate a control.
| [in] | id | The control ID |
Implements libcamera::ControlValidator.