nl::Weave::DeviceLayer::ThreadStackManager

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

Provides features for initializing and interacting with the Thread stack on a Weave-enabled device.

Summary

Inheritance

Direct Known Subclasses: nl::Weave::DeviceLayer::ThreadStackManagerImpl

Friend classes

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

Public functions

GetAndLogThreadStatsCounters(void)
GetAndLogThreadTopologyFull(void)
GetAndLogThreadTopologyMinimal(void)
GetPrimary802154MACAddress(uint8_t *buf)
HaveRouteToAddress(const IPAddress & destAddr)
bool
Determines whether a route exists via the Thread interface to the specified destination address.
InitThreadStack(void)
LockThreadStack(void)
void
ProcessThreadActivity(void)
void
StartThreadTask(void)
TryLockThreadStack(void)
bool
UnlockThreadStack(void)
void

Protected functions

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

Friend classes

Internal::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

Internal::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

Public functions

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
)

Determines whether a route exists via the Thread interface to the specified destination address.

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
)

Protected functions

ThreadStackManager

 ThreadStackManager()=default

ThreadStackManager

 ThreadStackManager(
  const ThreadStackManager &
)=delete

ThreadStackManager

 ThreadStackManager(
  const ThreadStackManager &&
)=delete

operator=

ThreadStackManager & operator=(
  const ThreadStackManager &
)=delete

~ThreadStackManager

 ~ThreadStackManager()=default