nl:: Weave:: DeviceLayer:: داخلي:: GeneralSoftwareUpdateManagerImpl
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericSoftwareUpdateManagerImpl.h>
توفر تنفيذًا عامًا لميزات برنامج تحديث البرامج التي تعمل على أنظمة أساسية متعددة.
الملخّص
يحتوي هذا النموذج على تطبيقات لميزات محدّدة من واجهة مجردة SoftwareUpdateManager مناسبة للاستخدام على جميع الأنظمة الأساسية. وهي مخصّصة لاكتسابها (بشكل مباشر أو غير مباشر) من خلال فئة SoftwareUpdateManagerImpl، التي تظهر أيضًا كمعلمة ImmClass.
الاكتساب
الفئات الفرعية المعروفة مباشرةً: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 )
الحصول على IntegrityTypeList
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 )
_ImageInstallComplete
WEAVE_ERROR _ImageInstallComplete( WEAVE_ERROR aError )
_IsInProgress
bool _IsInProgress( void )
_SetupImageStorageComplete
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 )
_SetResetPolicyPolicycallback
void _SetRetryPolicyCallback( const SoftwareUpdateManager::RetryPolicyCallback aRetryPolicyCallback )
دوال ثابتة محمية
_DefaultEventHandler
void _DefaultEventHandler( void *apAppState, SoftwareUpdateManager::EventType aEvent, const SoftwareUpdateManager::InEventParam & aInParam, SoftwareUpdateManager::OutEventParam & aOutParam )