nl:: Weave:: DeviceLayer:: Internal:: GenericSoftwareUpdateManagerImpl
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericSoftwareUpdateManagerImpl.h>
여러 플랫폼에서 작동하는 소프트웨어 업데이트 관리자 기능의 일반적인 구현을 제공합니다.
요약
이 템플릿에는 모든 플랫폼에서 사용하기 적합한 SoftwareUpdateManager 추상 인터페이스의 일부 기능이 구현되어 있습니다. 템플릿의 ImplClass 매개변수로도 표시되는 SoftwareUpdateManagerImpl 클래스에 의해 직접 또는 간접적으로 상속되도록 되어 있습니다.
상속
직접 알려진 서브클래스: <ph type="x-smartling-placeholder"></ph> nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl <ph type="x-smartling-placeholder">
</ph> nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl <ph type="x-smartling-placeholder">
</ph> 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()
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 )
_취소
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 )
_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 )