nl:: Weave:: DeviceLayer:: Internal:: GenericConnectivityManagerImpl_Thread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConnectivityManagerImpl_Thread.h>
توفّر هذه السياسة تنفيذًا عامًا لميزات ConnectivityManager الخاصة بشبكة Wi-Fi للاستخدام على الأنظمة الأساسية التي تتوافق مع Thread.
ملخّص
تم إعداد هذه الفئة (بشكل مباشر أو غير مباشر) من خلال الفئة ConnectivityManagerImpl التي تظهر أيضًا كمَعلمة ImplClass للنموذج.
تم تصميم الفئة GeneralConnectivityManagerImpl_Thread<> لتكون مستقلة عن حزمة Thread المحددة المستخدَمة، ما يشير ضمنًا، على سبيل المثال، إلى أن الرمز البرمجي لا يستخدم أيًّا من واجهات برمجة تطبيقات OpenThread بشكل مباشر. ويمكن تحقيق ذلك من خلال تفويض جميع العمليات المتعلقة بالحزمة إلى الفئة ThreadStackManager.
الدوال المحمية |
|
---|---|
UpdateServiceConnectivity(void)
|
void
|
_ClearThreadProvision(void)
|
void
|
_GetThreadDeviceType(void)
|
ConnectivityManager::ThreadDeviceType
|
_GetThreadMode(void)
|
ConnectivityManager::ThreadMode
|
_GetThreadPollingConfig(ConnectivityManager::ThreadPollingConfig & pollingConfig)
|
void
|
_HaveServiceConnectivityViaThread(void)
|
bool
|
_Init(void)
|
void
|
_IsThreadApplicationControlled(void)
|
bool
|
_IsThreadAttached(void)
|
bool
|
_IsThreadEnabled(void)
|
bool
|
_IsThreadProvisioned(void)
|
bool
|
_OnPlatformEvent(const WeaveDeviceEvent *event)
|
void
|
_SetThreadDeviceType(ConnectivityManager::ThreadDeviceType deviceType)
|
|
_SetThreadMode(ConnectivityManager::ThreadMode val)
|
|
_SetThreadPollingConfig(const ConnectivityManager::ThreadPollingConfig & pollingConfig)
|
الدوال المحمية
UpdateServiceConnectivity
void UpdateServiceConnectivity( void )
_ClearThread Saving
void _ClearThreadProvision( void )
_GetThreadDeviceType
ConnectivityManager::ThreadDeviceType _GetThreadDeviceType( void )
_GetThreadMode
ConnectivityManager::ThreadMode _GetThreadMode( void )
_GetThreadPollingConfig
void _GetThreadPollingConfig( ConnectivityManager::ThreadPollingConfig & pollingConfig )
_haveServiceConnectivityViaThread
bool _HaveServiceConnectivityViaThread( void )
_Init
void _Init( void )
_IsThreadApplicationControlled
bool _IsThreadApplicationControlled( void )
_IsThreadAttached
bool _IsThreadAttached( void )
_IsThreadEnabled
bool _IsThreadEnabled( void )
_IsThreadAvailableed
bool _IsThreadProvisioned( void )
_OnPlatformEvent
void _OnPlatformEvent( const WeaveDeviceEvent *event )
_SetThreadDeviceType
WEAVE_ERROR _SetThreadDeviceType( ConnectivityManager::ThreadDeviceType deviceType )
_SetThreadMode
WEAVE_ERROR _SetThreadMode( ConnectivityManager::ThreadMode val )
_SetThreadPollingConfig
WEAVE_ERROR _SetThreadPollingConfig( const ConnectivityManager::ThreadPollingConfig & pollingConfig )