nl:: बुनाई:: डिवाइस लेयर:: अंदरूनी:: सामान्य सॉफ़्टवेयर अपडेट मैनेजर Impl
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericSoftwareUpdateManagerImpl.h>
सॉफ़्टवेयर अपडेट मैनेजर सुविधा को सामान्य रूप से लागू करना, जो कई प्लैटफ़ॉर्म पर काम करती है.
खास जानकारी
इस टेंप्लेट में, SoftwareUpdateManager ऐब्स्ट्रैक्ट इंटरफ़ेस से चुनिंदा सुविधाओं को लागू करना शामिल है, जो सभी प्लैटफ़ॉर्म पर इस्तेमाल के लिए सही हैं. इसे SoftwareUpdateManagerImpl क्लास से इनहेरिट करने (सीधे तौर पर या किसी दूसरे तरीके से) के लिए बनाया गया है, जो टेंप्लेट's 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 )
_इमेजइंस्टॉलेशन पूरा हुआ
WEAVE_ERROR _ImageInstallComplete( WEAVE_ERROR aError )
_IsInProgress
bool _IsInProgress( void )
_ImageImageStorageपूरी करें
WEAVE_ERROR _PrepareImageStorageComplete( WEAVE_ERROR aError )
_SetEventCallback
WEAVE_ERROR _SetEventCallback( void *const aAppState, const SoftwareUpdateManager::EventCallback aEventCallback )
_SetQueryIntervalविंडो
WEAVE_ERROR _SetQueryIntervalWindow( uint32_t aMinWaitTimeMs, uint32_t aMaxWaitTimeMs )
_SetRePolicyPolicyCallback
void _SetRetryPolicyCallback( const SoftwareUpdateManager::RetryPolicyCallback aRetryPolicyCallback )
सुरक्षित स्टैटिक फ़ंक्शन
_DefaultEventHandler
void _DefaultEventHandler( void *apAppState, SoftwareUpdateManager::EventType aEvent, const SoftwareUpdateManager::InEventParam & aInParam, SoftwareUpdateManager::OutEventParam & aOutParam )