libcamera
v0.3.1+12-19bbca3c
Supporting cameras in Linux since 2019
|
Base class for camera sensor helper factories. More...
Public Member Functions | |
CameraSensorHelperFactoryBase (const std::string name) | |
Construct a camera sensor helper factory base. More... | |
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. More... | |
static std::vector< CameraSensorHelperFactoryBase * > & | factories () |
Retrieve the list of all 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.
libcamera::ipa::CameraSensorHelperFactoryBase::CameraSensorHelperFactoryBase | ( | const std::string | name | ) |
Construct a camera sensor helper factory base.
[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.
|
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.