nl:: Weave:: DeviceOverlay:: Nội bộ:: GeneralConnectivityManagerimpl_Thread
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConnectivityManagerImpl_Thread.h>
Cung cấp phương thức triển khai chung các tính năng ConnectivityManager dành riêng cho Wi-Fi để sử dụng trên các nền tảng hỗ trợ Thread.
Tóm tắt
Lớp này dự kiến sẽ được kế thừa (trực tiếp hoặc gián tiếp) bởi lớp ConnectivityManagerImpl, cũng xuất hiện dưới dạng thông số ImplClass của mẫu.
Lớp genericConnectivityManagerimpl_thread<> được thiết kế để tách biệt với ngăn xếp Chuỗi cụ thể đang được sử dụng, ví dụ như mã không sử dụng trực tiếp bất kỳ API OpenThread nào. Bạn có thể thực hiện việc này bằng cách ủy quyền cho mọi thao tác thực hiện theo từng ngăn xếp trong lớp ThreadStackManager.
Hàm được bảo vệ |
|
---|---|
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)
|
Hàm được bảo vệ
Cập nhậtdịch vụ
void UpdateServiceConnectivity( void )
_ClearThread giả
void _ClearThreadProvision( void )
_GetDeviceDeviceType
ConnectivityManager::ThreadDeviceType _GetThreadDeviceType( void )
_GetModeMode
ConnectivityManager::ThreadMode _GetThreadMode( void )
_GetThreadPollingConfig
void _GetThreadPollingConfig( ConnectivityManager::ThreadPollingConfig & pollingConfig )
_hadServiceConnectivityViathread
bool _HaveServiceConnectivityViaThread( void )
_Số ít
void _Init( void )
_IsIskiểm soát
bool _IsThreadApplicationControlled( void )
_Được đính kèm
bool _IsThreadAttached( void )
_IsIsEnabledEnabled
bool _IsThreadEnabled( void )
_Đã cấp phép theo chuỗi
bool _IsThreadProvisioned( void )
Sự kiện _OnPlatform
void _OnPlatformEvent( const WeaveDeviceEvent *event )
_Đặt chuỗi thiết bị
WEAVE_ERROR _SetThreadDeviceType( ConnectivityManager::ThreadDeviceType deviceType )
_Đặt chế độ
WEAVE_ERROR _SetThreadMode( ConnectivityManager::ThreadMode val )
_SetThreadPollingConfig
WEAVE_ERROR _SetThreadPollingConfig( const ConnectivityManager::ThreadPollingConfig & pollingConfig )