nl::Weave::DeviceLayer::ThreadStackManager

#include <src/adaptations/device-layer/include/Weave/DeviceLayer/ThreadStackManager.h>

提供在支持 Weave 的设备上初始化 Thread 堆栈并与之交互的功能。

摘要

继承

直接已知的子类:
  nl::Weave::DeviceLayer::ThreadStackManagerImpl
  nl::Weave::DeviceLayer::ThreadStackManagerImpl
  nl::Weave::DeviceLayer::ThreadStackManagerImpl

好友课程

Internal::BLEManagerImpl
friend class
Internal::DeviceControlServer
friend class
Internal::GenericConfigurationManagerImpl
friend class
Internal::GenericConnectivityManagerImpl_Thread
friend class
Internal::GenericNetworkProvisioningServerImpl
friend class
Internal::GenericPlatformManagerImpl
friend class
Internal::GenericPlatformManagerImpl_FreeRTOS
friend class
Internal::GenericThreadStackManagerImpl_FreeRTOS
friend class
Internal::GenericThreadStackManagerImpl_OpenThread
friend class
Internal::GenericThreadStackManagerImpl_OpenThread_LwIP
friend class

公共函数

GetAndLogThreadStatsCounters(void)
GetAndLogThreadTopologyFull(void)
GetAndLogThreadTopologyMinimal(void)
GetPrimary802154MACAddress(uint8_t *buf)
HaveRouteToAddress(const IPAddress & destAddr)
bool
确定是否存在通过 Thread 接口到达指定目标地址的路由。
InitThreadStack(void)
LockThreadStack(void)
void
ProcessThreadActivity(void)
void
StartThreadTask(void)
TryLockThreadStack(void)
bool
UnlockThreadStack(void)
void

受保护的函数

ThreadStackManager()=default
ThreadStackManager(const ThreadStackManager &)=delete
ThreadStackManager(const ThreadStackManager &&)=delete
operator=(const ThreadStackManager &)=delete
~ThreadStackManager()=default

好友课程

内部::BLEManagerImpl

friend class Internal::BLEManagerImpl

内部::DeviceControlServer

friend class Internal::DeviceControlServer

Internal::GenericConfigurationManagerImpl

friend class Internal::GenericConfigurationManagerImpl

Internal::GenericConnectivityManagerImpl_Thread

friend class Internal::GenericConnectivityManagerImpl_Thread

Internal::GenericNetworkProvisioningServerImpl

friend class Internal::GenericNetworkProvisioningServerImpl

内部::GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

Internal::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

Internal::GenericThreadStackManagerImpl_FreeRTOS

friend class Internal::GenericThreadStackManagerImpl_FreeRTOS

Internal::GenericThreadStackManagerImpl_OpenThread

friend class Internal::GenericThreadStackManagerImpl_OpenThread

Internal::GenericThreadStackManagerImpl_OpenThread_LwIP

friend class Internal::GenericThreadStackManagerImpl_OpenThread_LwIP

公共函数

GetAndLogThreadStatsCounters

WEAVE_ERROR GetAndLogThreadStatsCounters(
  void
)

GetAndLogThreadTopologyFull

WEAVE_ERROR GetAndLogThreadTopologyFull(
  void
)

GetAndLogThreadTopologyMinimal

WEAVE_ERROR GetAndLogThreadTopologyMinimal(
  void
)

GetPrimary802154MACAddress

WEAVE_ERROR GetPrimary802154MACAddress(
  uint8_t *buf
)

HaveRouteToAddress

bool HaveRouteToAddress(
  const IPAddress & destAddr
)

确定是否存在通过 Thread 接口到达指定目标地址的路由。

InitThreadStack

WEAVE_ERROR InitThreadStack(
  void
)

LockThreadStack

void LockThreadStack(
  void
)

ProcessThreadActivity

void ProcessThreadActivity(
  void
)

StartThreadTask

WEAVE_ERROR StartThreadTask(
  void
)

TryLockThreadStack

bool TryLockThreadStack(
  void
)

UnlockThreadStack

void UnlockThreadStack(
  void
)

受保护的函数

ThreadStackManager

 ThreadStackManager()=default

ThreadStackManager

 ThreadStackManager(
  const ThreadStackManager &
)=delete

ThreadStackManager

 ThreadStackManager(
  const ThreadStackManager &&
)=delete

operator=

ThreadStackManager & operator=(
  const ThreadStackManager &
)=delete

~ThreadStackManager

 ~ThreadStackManager()=default