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
)

_ClearThreadProvision

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
)

_IsThreadProvisioned

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
)