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

nl::Weave::DeviceLayer::PlatformManager

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

提供了在支援 Weave 的裝置上,針對 Weave 網路堆疊初始化及互動的功能。

總結

繼承

直接已知子類別:
nl::Weave::DeviceLayer::PlatformManagerImpl
nl::Weave::DeviceLayer::PlatformManagerImpl
nl::Weave::DeviceLayer::PlatformManagerImpl

公開類型

EventHandlerFunct)(const WeaveDeviceEvent *event, intptr_t arg) typedef
void(*

好友課程

Internal::BLEManagerImpl
friend class
Internal::FabricProvisioningServer
friend class
Internal::GenericConfigurationManagerImpl
friend class
Internal::GenericConnectivityManagerImpl_Thread
friend class
Internal::GenericPlatformManagerImpl
friend class
Internal::GenericPlatformManagerImpl_FreeRTOS
friend class
Internal::GenericThreadStackManagerImpl_OpenThread
friend class
Internal::GenericThreadStackManagerImpl_OpenThread_LwIP
friend class
Internal::ServiceProvisioningServer
friend class

公開函式

AddEventHandler(EventHandlerFunct handler, intptr_t arg)
InitWeaveStack()
LockWeaveStack(void)
void
RemoveEventHandler(EventHandlerFunct handler, intptr_t arg)
void
RunEventLoop(void)
void
ScheduleWork(AsyncWorkFunct workFunct, intptr_t arg)
void
StartEventLoopTask(void)
TryLockWeaveStack(void)
bool
UnlockWeaveStack(void)
void

受保護的函式

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

公開類型

EventHandlerFunct

void(* EventHandlerFunct)(const WeaveDeviceEvent *event, intptr_t arg)

好友課程

內部::BLEManagerImpl

friend class Internal::BLEManagerImpl

內部::FabricProvisioningServer

friend class Internal::FabricProvisioningServer

內部::一般組態管理員 Impl

friend class Internal::GenericConfigurationManagerImpl

內部::GenericConnectivityManagerImpl_Thread

friend class Internal::GenericConnectivityManagerImpl_Thread

內部::一般平台管理員

friend class Internal::GenericPlatformManagerImpl

內部::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

內部::GenericThreadStackManagerImpl_OpenThread

friend class Internal::GenericThreadStackManagerImpl_OpenThread

內部::GenericThreadStackManagerImpl_OpenThread_LwIP

friend class Internal::GenericThreadStackManagerImpl_OpenThread_LwIP

內部::ServiceProvisioningServer

friend class Internal::ServiceProvisioningServer

公開函式

新增事件處理常式

WEAVE_ERROR AddEventHandler(
  EventHandlerFunct handler,
  intptr_t arg
)

InitWeaveStack

WEAVE_ERROR InitWeaveStack()

鎖定 WeaveStack

void LockWeaveStack(
  void
)

移除事件處理常式

void RemoveEventHandler(
  EventHandlerFunct handler,
  intptr_t arg
)

執行事件迴圈

void RunEventLoop(
  void
)

排程工作

void ScheduleWork(
  AsyncWorkFunct workFunct,
  intptr_t arg
)

StartEventLoopTask

WEAVE_ERROR StartEventLoopTask(
  void
)

嘗試鎖定 WeaveStack

bool TryLockWeaveStack(
  void
)

解鎖 WeaveStack

void UnlockWeaveStack(
  void
)

受保護的函式

平台經理

 PlatformManager()=default

平台經理

 PlatformManager(
  const PlatformManager &
)=delete

平台經理

 PlatformManager(
  const PlatformManager &&
)=delete

運算子=

PlatformManager & operator=(
  const PlatformManager &
)=delete

~PlatformManager

 ~PlatformManager()=default