nl:: Weave:: DeviceLayer:: Internal:: GenericConnectivityManagerImpl_Thread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConnectivityManagerImpl_Thread.h>
提供針對 Wi-Fi 專屬 ConnectivityManager 功能的一般實作方式,以便在支援 Thread 的平台上使用。
摘要
此類別可由 ConnectivityManagerImpl 類別繼承 (直接或間接),而這也是範本的 ImplClass 參數。
GenericConnectivityManagerImpl_Thread<> 類別的設計旨在獨立於使用中的特定 Thread 堆疊,暗示程式碼不會直接使用任何 OpenThread API。方法是將所有堆疊特定作業委派給 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 佈建
void _ClearThreadProvision( void )
_GetThreadDeviceType
ConnectivityManager::ThreadDeviceType _GetThreadDeviceType( void )
_GetThreadMode
ConnectivityManager::ThreadMode _GetThreadMode( void )
_GetThreadPollingConfig
void _GetThreadPollingConfig( ConnectivityManager::ThreadPollingConfig & pollingConfig )
_WithServiceConnectivityViaThread
bool _HaveServiceConnectivityViaThread( void )
_Init
void _Init( void )
_IsThreadApplicationControlled
bool _IsThreadApplicationControlled( void )
_IsThread 已附加
bool _IsThreadAttached( void )
_IsThreadEnabled
bool _IsThreadEnabled( void )
_IsThread 已佈建
bool _IsThreadProvisioned( void )
_OnPlatformEvent
void _OnPlatformEvent( const WeaveDeviceEvent *event )
_SetThreadDeviceType
WEAVE_ERROR _SetThreadDeviceType( ConnectivityManager::ThreadDeviceType deviceType )
_設定執行緒模式
WEAVE_ERROR _SetThreadMode( ConnectivityManager::ThreadMode val )
_SetThreadPollingConfig
WEAVE_ERROR _SetThreadPollingConfig( const ConnectivityManager::ThreadPollingConfig & pollingConfig )