Base class for camera sensor helper factories.
More...
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.
◆ CameraSensorHelperFactoryBase()
libcamera::ipa::CameraSensorHelperFactoryBase::CameraSensorHelperFactoryBase |
( |
const std::string | name | ) |
|
Construct a camera sensor helper factory base.
- Parameters
-
[in] | name | Name of the camera sensor helper class |
Creating an instance of the factory base registers it with the global list of factories, accessible through the factories() function.
The factory name is used to look up factories and shall be unique.
◆ create()
std::unique_ptr< CameraSensorHelper > libcamera::ipa::CameraSensorHelperFactoryBase::create |
( |
const std::string & | name | ) |
|
|
static |
Create an instance of the CameraSensorHelper corresponding to a named factory.
- Parameters
-
[in] | name | Name of the factory |
- Returns
- A unique pointer to a new instance of the CameraSensorHelper subclass corresponding to the named factory or a null pointer if no such factory exists
◆ factories()
Retrieve the list of all camera sensor helper factories.
- Returns
- The list of camera sensor helper factories
The documentation for this class was generated from the following files: