QInferenceBackendStepProvider Class
The QInferenceBackendStepProvider class is the plugin interface that creates the backend implementations of inference steps. More...
| Header: | #include <QInferenceBackendStepProvider> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS EdgeAi)target_link_libraries(mytarget PRIVATE Qt6::EdgeAi) |
| qmake: | QT += edgeai |
| Status: | Technical Preview |
Public Functions
| virtual | ~QInferenceBackendStepProvider() |
| virtual QInferenceBackendStep * | createBackendStep(QInferenceStep *step, const QString &category) = 0 |
Detailed Description
A backend plugin implements this interface to provide the QInferenceBackendStep for each category of step that it supports. QInferenceBackendFactory loads the plugin. A QVisionInference step selects the step provider by its provider name, and any other step gets the step provider registered for its category. The plugin declares its name and the categories it provides in its JSON metadata.
See also QInferenceBackendFactory, QInferenceFlowBackendProvider, and Qt Edge AI backends.
Member Function Documentation
[virtual constexpr noexcept default] QInferenceBackendStepProvider::~QInferenceBackendStepProvider()
Destroys the instance of QInferenceBackendStepProvider. This destructor is virtual.
[pure virtual] QInferenceBackendStep *QInferenceBackendStepProvider::createBackendStep(QInferenceStep *step, const QString &category)
Creates the backend implementation for step, which belongs to category. step is the QInferenceStep that owns the implementation. Returns nullptr if the provider cannot create it.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.