nl:: بافت:: DeviceLayer:: ThreadStackManager

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

ویژگی هایی را برای مقداردهی اولیه و تعامل با پشته Thread در دستگاهی با قابلیت Weave فراهم می کند.

خلاصه

ارث

زیر کلاس های مستقیم شناخته شده:
  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

داخلی::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
)

GetPrimary802154MACA address

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

اپراتور=

ThreadStackManager & operator=(
  const ThreadStackManager &
)=delete

~ThreadStackManager

 ~ThreadStackManager()=default