Base class for pipeline handler factories.
More...
Base class for pipeline handler factories.
The PipelineHandlerFactoryBase class is the base of all specializations of the PipelineHandlerFactory class template. It implements the factory registration, maintains a registry of factories, and provides access to the registered factories.
◆ PipelineHandlerFactoryBase()
libcamera::PipelineHandlerFactoryBase::PipelineHandlerFactoryBase |
( |
const char * |
name | ) |
|
Construct a pipeline handler factory base.
- Parameters
-
[in] | name | Name of the pipeline handler 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 for debug purpose and shall be unique.
◆ create()
Create an instance of the PipelineHandler corresponding to the factory.
- Parameters
-
[in] | manager | The camera manager |
- Returns
- A shared pointer to a new instance of the PipelineHandler subclass corresponding to the factory
◆ factories()
Retrieve the list of all pipeline handler factories.
- Returns
- the list of pipeline handler factories
◆ getFactoryByName()
Return the factory for the pipeline handler with name name.
- Parameters
-
[in] | name | The pipeline handler name |
- Returns
- The factory of the pipeline with name name, or nullptr if not found
◆ name()
libcamera::PipelineHandlerFactoryBase::name |
( |
| ) |
const |
|
inline |
Retrieve the factory name.
- Returns
- The factory name
The documentation for this class was generated from the following files: