nl:: বুনা:: ডিভাইস লেয়ার:: অভ্যন্তরীণ:: GenericSoftwareUpdateManagerImpl

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

সফ্টওয়্যার আপডেট ম্যানেজার বৈশিষ্ট্যগুলির একটি সাধারণ বাস্তবায়ন প্রদান করে যা একাধিক প্ল্যাটফর্মে কাজ করে।

সারসংক্ষেপ

এই টেমপ্লেটটিতে SoftwareUpdateManager বিমূর্ত ইন্টারফেস থেকে নির্বাচিত বৈশিষ্ট্যগুলির বাস্তবায়ন রয়েছে যা সমস্ত প্ল্যাটফর্মে ব্যবহারের জন্য উপযুক্ত৷ এটি SoftwareUpdateManagerImpl ক্লাস দ্বারা উত্তরাধিকারসূত্রে (প্রত্যক্ষ বা পরোক্ষভাবে) প্রাপ্ত করার উদ্দেশ্যে করা হয়েছে, যা টেমপ্লেটের 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

সুরক্ষিত ফাংশন

DoInit

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
)

_গেটস্টেট

SoftwareUpdateManager::State _GetState(
  void
)

_ImageInstallComplete

WEAVE_ERROR _ImageInstallComplete(
  WEAVE_ERROR aError
)

_IsInProgress

bool _IsInProgress(
  void
)

_প্রিপেয়ার ইমেজ স্টোরেজ সম্পূর্ণ

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
)

সুরক্ষিত স্ট্যাটিক ফাংশন

_ডিফল্ট ইভেন্টহ্যান্ডলার

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