nl::Weave::DeviceLayer::내부: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

보호된 함수

도니트

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
)

_지금 확인

WEAVE_ERROR _CheckNow(
  void
)

_GetState

SoftwareUpdateManager::State _GetState(
  void
)

_ImageInstallComplete

WEAVE_ERROR _ImageInstallComplete(
  WEAVE_ERROR aError
)

_진행 중

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
)