nl::Weave::DeviceLayer::Internal::GenericSoftwareUpdateManagerImpl

#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericSoftwareUpdateManagerImpl.h>

Fournit une implémentation générique des fonctionnalités du Gestionnaire de mises à jour logicielles, qui fonctionne sur plusieurs plates-formes.

Résumé

Ce modèle contient des implémentations de certaines fonctionnalités de l'interface abstraite SoftwareUpdateManager adaptées à une utilisation sur toutes les plates-formes. Il est destiné à être hérité (directement ou indirectement) par la classe SoftwareUpdateManagerImpl, qui apparaît également comme paramètre ImplClass du modèle.

Héritage

Sous-classes directes connues:
  nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
  nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
  nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl

Fonctions protégées

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

Fonctions statiques protégées

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

Fonctions protégées

DoInit

void DoInit()

DownloadComplete

void DownloadComplete(
  void
)

GetIntegrityTypeList

WEAVE_ERROR GetIntegrityTypeList(
  ::nl::Weave::Profiles::SoftwareUpdate::IntegrityTypeList *aIntegrityTypeList
)

InstallImage

WEAVE_ERROR InstallImage(
  void
)

SoftwareUpdateFailed

void SoftwareUpdateFailed(
  WEAVE_ERROR aError,
  StatusReport *aStatusReport
)

SoftwareUpdateFinished

void SoftwareUpdateFinished(
  WEAVE_ERROR aError
)

StoreImageBlock

WEAVE_ERROR StoreImageBlock(
  uint32_t aLength,
  uint8_t *aData
)

_Abandonner

WEAVE_ERROR _Abort(
  void
)

_Vérifier maintenant

WEAVE_ERROR _CheckNow(
  void
)

_GetState

SoftwareUpdateManager::State _GetState(
  void
)

_ImageInstallComplete

WEAVE_ERROR _ImageInstallComplete(
  WEAVE_ERROR aError
)

_En cours

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
)

_SetRéessayerPolicyCallback

void _SetRetryPolicyCallback(
  const SoftwareUpdateManager::RetryPolicyCallback aRetryPolicyCallback
)

Fonctions statiques protégées

Gestionnaire d'événements par défaut

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