|
libcamera v0.8.0+1-3c8337a0-nvm
Supporting cameras in Linux since 2019
|
Base class for camera sensor helper factories. More...

Public Member Functions | |
| CameraSensorHelperFactoryBase (std::initializer_list< const char * > names) | |
| Construct a camera sensor helper factory base. | |
Static Public Member Functions | |
| static std::unique_ptr< CameraSensorHelper > | create (const std::string &name) |
| Create an instance of the CameraSensorHelper corresponding to a named factory. | |
| static std::vector< CameraSensorHelperFactoryBase * > & | factories () |
| Retrieve the list of all camera sensor helper factories. | |
Base class for camera sensor helper factories.
The CameraSensorHelperFactoryBase class is the base of all specializations of the CameraSensorHelperFactory class template. It implements the factory registration, maintains a registry of factories, and provides access to the registered factories.
| libcamera::ipa::CameraSensorHelperFactoryBase::CameraSensorHelperFactoryBase | ( | std::initializer_list< const char * > | names | ) |
Construct a camera sensor helper factory base.
| [in] | names | Names of the camera sensors to match with the helper |
Creating an instance of the factory base registers it with the global list of factories, accessible through the factories() function.
The factory names are used to look up factories and shall be unique.
|
static |
Create an instance of the CameraSensorHelper corresponding to a named factory.
| [in] | name | Name of the factory |
|
static |
Retrieve the list of all camera sensor helper factories.