透過集合功能整理內容 你可以依據偏好儲存及分類內容。

NL::編織::設備層::線程堆棧管理器

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

提供用於在啟用 Wea​​ve 的設備上初始化和與 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

內部::設備控制服務器

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