nl:: Weave:: DeviceLayer:: Internal:: GenericSoftwareUpdateManagerImpl
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericSoftwareUpdateManagerImpl.h>
Bietet eine allgemeine Implementierung von Funktionen des Software-Update-Managers, die auf mehreren Plattformen funktioniert.
Zusammenfassung
Diese Vorlage enthält Implementierungen ausgewählter Funktionen der abstrakten Schnittstelle SoftwareUpdateManager, die für die Verwendung auf allen Plattformen geeignet ist. Sie ist für die direkte oder indirekte Übernahme durch die SoftwareUpdateManagerImpl-Klasse vorgesehen, die auch als ImplClass-Parameter der Vorlage angezeigt wird.
Übernahme
Direkte bekannte Unterklassen:nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
Geschützte Funktionen |
|
---|---|
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
|
Geschützte statische Funktionen |
|
---|---|
_DefaultEventHandler(void *apAppState, SoftwareUpdateManager::EventType aEvent, const SoftwareUpdateManager::InEventParam & aInParam, SoftwareUpdateManager::OutEventParam & aOutParam)
|
void
|
Geschützte Funktionen
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 )
_Abbrechen
WEAVE_ERROR _Abort( void )
_Jetzt überprüfen
WEAVE_ERROR _CheckNow( void )
_GetState
SoftwareUpdateManager::State _GetState( void )
_ImageInstallComplete
WEAVE_ERROR _ImageInstallComplete( WEAVE_ERROR aError )
_In Bearbeitung
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 )
_SetRepeatPolicyCallback
void _SetRetryPolicyCallback( const SoftwareUpdateManager::RetryPolicyCallback aRetryPolicyCallback )
Geschützte statische Funktionen
_DefaultEventHandler
void _DefaultEventHandler( void *apAppState, SoftwareUpdateManager::EventType aEvent, const SoftwareUpdateManager::InEventParam & aInParam, SoftwareUpdateManager::OutEventParam & aOutParam )