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<> 类被设计为独立于正在使用的特定线程堆栈,这意味着代码不会直接使用任何 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
)

_ClearThreadProvision

void _ClearThreadProvision(
  void
)

_GetThreadDeviceType

ConnectivityManager::ThreadDeviceType _GetThreadDeviceType(
  void
)

_GetThreadMode

ConnectivityManager::ThreadMode _GetThreadMode(
  void
)

_GetThreadPollingConfig

void _GetThreadPollingConfig(
  ConnectivityManager::ThreadPollingConfig & pollingConfig
)

_haveServiceConnectivityViaThread

bool _HaveServiceConnectivityViaThread(
  void
)

_启动

void _Init(
  void
)

_IsThreadApplicationControlled

bool _IsThreadApplicationControlled(
  void
)

_IsThreadAttached

bool _IsThreadAttached(
  void
)

_IsThreadEnabled

bool _IsThreadEnabled(
  void
)

_IsThreadProvisioned

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
)