透過集合功能整理內容 你可以依據偏好儲存及分類內容。

nl::Weave::DeviceLayer::內部::GeneralSoftwareUpdateManagerImpl

#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
)

商店圖片區塊

WEAVE_ERROR StoreImageBlock(
  uint32_t aLength,
  uint8_t *aData
)

_取消

WEAVE_ERROR _Abort(
  void
)

_CheckNow

WEAVE_ERROR _CheckNow(
  void
)

.GetState

SoftwareUpdateManager::State _GetState(
  void
)

_ImageInstall 完成

WEAVE_ERROR _ImageInstallComplete(
  WEAVE_ERROR aError
)

_進行中

bool _IsInProgress(
  void
)

_準備圖片儲存空間已完成

WEAVE_ERROR _PrepareImageStorageComplete(
  WEAVE_ERROR aError
)

_設定事件回呼

WEAVE_ERROR _SetEventCallback(
  void *const aAppState,
  const SoftwareUpdateManager::EventCallback aEventCallback
)

_SetQueryIntervalWindow

WEAVE_ERROR _SetQueryIntervalWindow(
  uint32_t aMinWaitTimeMs,
  uint32_t aMaxWaitTimeMs
)

_Set 重試 PolicyCallback

void _SetRetryPolicyCallback(
  const SoftwareUpdateManager::RetryPolicyCallback aRetryPolicyCallback
)

受保護的靜態函式

預設預設處理常式

void _DefaultEventHandler(
  void *apAppState,
  SoftwareUpdateManager::EventType aEvent,
  const SoftwareUpdateManager::InEventParam & aInParam,
  SoftwareUpdateManager::OutEventParam & aOutParam
)