нл:: Переплетение:: Уровень устройства:: Внутренний:: GenericSoftwareUpdateManagerImpl
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericSoftwareUpdateManagerImpl.h>
Предоставляет общую реализацию функций диспетчера обновлений программного обеспечения, которая работает на нескольких платформах.
Краткое содержание
Этот шаблон содержит реализации избранных функций абстрактного интерфейса SoftwareUpdateManager , которые подходят для использования на всех платформах. Он предназначен для наследования (прямо или косвенно) классом SoftwareUpdateManagerImpl , который также отображается как параметр ImplClass шаблона.
Наследование
Прямые известные подклассы:nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
Защищенные функции | |
---|---|
DoInit () | void |
DownloadComplete (void) | void |
GetIntegrityTypeList (:: nl::Weave::Profiles::SoftwareUpdate::IntegrityTypeList *aIntegrityTypeList) | |
InstallImage (void) | |
SoftwareUpdateFailed ( WEAVE_ERROR aError, StatusReport *aStatusReport) | void |
SoftwareUpdateFinished ( WEAVE_ERROR aError) | void |
StoreImageBlock (uint32_t aLength, uint8_t *aData) | |
_Abort (void) | |
_CheckNow (void) | |
_GetState (void) | SoftwareUpdateManager::State |
_ImageInstallComplete ( WEAVE_ERROR aError) | |
_IsInProgress (void) | bool |
_PrepareImageStorageComplete ( WEAVE_ERROR aError) | |
_SetEventCallback (void *const aAppState, const SoftwareUpdateManager::EventCallback aEventCallback) | |
_SetQueryIntervalWindow (uint32_t aMinWaitTimeMs, uint32_t aMaxWaitTimeMs) | |
_SetRetryPolicyCallback (const SoftwareUpdateManager::RetryPolicyCallback aRetryPolicyCallback) | void |
Защищенные статические функции | |
---|---|
_DefaultEventHandler (void *apAppState, SoftwareUpdateManager::EventType aEvent, const SoftwareUpdateManager::InEventParam & aInParam, SoftwareUpdateManager::OutEventParam & aOutParam) | void |
Защищенные функции
DoInit
void DoInit()
СкачатьЗавершить
void DownloadComplete(
void
)
GetIntegrityTypeList
WEAVE_ERROR GetIntegrityTypeList(
::nl::Weave::Profiles::SoftwareUpdate::IntegrityTypeList *aIntegrityTypeList
)
Установить изображение
WEAVE_ERROR InstallImage(
void
)
Ошибка обновления программного обеспечения
void SoftwareUpdateFailed(
WEAVE_ERROR aError,
StatusReport *aStatusReport
)
Обновление программного обеспеченияЗавершено
void SoftwareUpdateFinished(
WEAVE_ERROR aError
)
StoreImageBlock
WEAVE_ERROR StoreImageBlock(
uint32_t aLength,
uint8_t *aData
)
_Прервать
WEAVE_ERROR _Abort(
void
)
_Проверить сейчас
WEAVE_ERROR _CheckNow(
void
)
_GetState
SoftwareUpdateManager::State _GetState(
void
)
_ImageInstallComplete
WEAVE_ERROR _ImageInstallComplete(
WEAVE_ERROR aError
)
_IsInProgress
bool _IsInProgress(
void
)
_PrepareImageStorageComplete
WEAVE_ERROR _PrepareImageStorageComplete(
WEAVE_ERROR aError
)
_SetEventCallback
WEAVE_ERROR _SetEventCallback(
void *const aAppState,
const SoftwareUpdateManager::EventCallback aEventCallback
)
_SetQueryIntervalWindow
WEAVE_ERROR _SetQueryIntervalWindow(
uint32_t aMinWaitTimeMs,
uint32_t aMaxWaitTimeMs
)
_SetRetryPolicyCallback
void _SetRetryPolicyCallback(
const SoftwareUpdateManager::RetryPolicyCallback aRetryPolicyCallback
)
Защищенные статические функции
_DefaultEventHandler
void _DefaultEventHandler(
void *apAppState,
SoftwareUpdateManager::EventType aEvent,
const SoftwareUpdateManager::InEventParam & aInParam,
SoftwareUpdateManager::OutEventParam & aOutParam
)