OtaManager
Source locationmrx/spoke-zone/ota/OtaManager.hpp
Inherits:
QObject
Queries OTA files using the module and active-status filters documented by Spoke.Zone.
The OtaFilesApi is caller-owned and must outlive this manager. Requests are delegated to that API, retaining its shared client configuration, typed result, callback-context, and cancellation behavior.
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
OtaManager explicit | ||
OpenApiRequestHandle | getOtaFiles | Fetches OTA files matching the supplied filters. |
OpenApiRequestHandle | getOtaFiles inline | Uses this manager as the callback context. |
OpenApiRequestHandle | getOtaFiles inline | Fetches OTA files without filters, using this manager as the callback context. |
explicit
OtaManager
Section titled “OtaManager”Source locationmrx/spoke-zone/ota/OtaManager.hpp
getOtaFiles
Section titled “getOtaFiles”Source locationmrx/spoke-zone/ota/OtaManager.hpp
Fetches OTA files matching the supplied filters.
Returns
Section titled “Returns”The shared client’s cancellable request handle.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
filters | const Filters& | Optional module and active-status filters. |
callbackContext | QObject* | QObject that owns the callback’s lifetime. |
callback | const Callback& | Receives the generated API’s typed result. |
inline
getOtaFiles
Section titled “getOtaFiles”Source locationmrx/spoke-zone/ota/OtaManager.hpp
Uses this manager as the callback context.
inline
getOtaFiles
Section titled “getOtaFiles”Source locationmrx/spoke-zone/ota/OtaManager.hpp
Fetches OTA files without filters, using this manager as the callback context.
Public Types
Section titled “Public Types”| Name | Description |
|---|---|
Result | |
Callback |
Result
Section titled “Result”Source locationmrx/spoke-zone/ota/OtaManager.hpp
Callback
Section titled “Callback”Source locationmrx/spoke-zone/ota/OtaManager.hpp