NL::编织::设备层::线程堆栈管理器

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

提供用于在启用 Wea​​ve 的设备上初始化和与线程堆栈交互的功能。

概括

遗产

直接已知的子类:
  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

内部::设备控制服务器

friend class Internal::DeviceControlServer

内部::GenericConfigurationManagerImpl

friend class Internal::GenericConfigurationManagerImpl

内部::GenericConnectivityManagerImpl_Thread

friend class Internal::GenericConnectivityManagerImpl_Thread

内部::GenericNetworkProvisioningServerImpl

friend class Internal::GenericNetworkProvisioningServerImpl

内部::GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

内部::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

内部::GenericThreadStackManagerImpl_FreeRTOS

friend class Internal::GenericThreadStackManagerImpl_FreeRTOS

内部::GenericThreadStackManagerImpl_OpenThread

friend class Internal::GenericThreadStackManagerImpl_OpenThread

内部::GenericThreadStackManagerImpl_OpenThread_LwIP

friend class Internal::GenericThreadStackManagerImpl_OpenThread_LwIP

公共职能

GetAndLogThreadStatsCounters

WEAVE_ERROR GetAndLogThreadStatsCounters(
  void
)

GetAndLogThreadTopologyFull

WEAVE_ERROR GetAndLogThreadTopologyFull(
  void
)

GetAndLogThreadTopologyMinimal

WEAVE_ERROR GetAndLogThreadTopologyMinimal(
  void
)

获取Primary802154MAC地址

WEAVE_ERROR GetPrimary802154MACAddress(
  uint8_t *buf
)

有路由到地址

bool HaveRouteToAddress(
  const IPAddress & destAddr
)

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

初始化线程栈

WEAVE_ERROR InitThreadStack(
  void
)

锁线程栈

void LockThreadStack(
  void
)

进程线程活动

void ProcessThreadActivity(
  void
)

启动线程任务

WEAVE_ERROR StartThreadTask(
  void
)

尝试锁线程堆栈

bool TryLockThreadStack(
  void
)

解锁线程堆栈

void UnlockThreadStack(
  void
)

受保护的功能

线程堆栈管理器

 ThreadStackManager()=default

线程堆栈管理器

 ThreadStackManager(
  const ThreadStackManager &
)=delete

线程堆栈管理器

 ThreadStackManager(
  const ThreadStackManager &&
)=delete

运算符=

ThreadStackManager & operator=(
  const ThreadStackManager &
)=delete

~线程堆栈管理器

 ~ThreadStackManager()=default