nl:: بافت:: 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

داخلی::GenericConfigurationManagerImpl

friend class Internal::GenericConfigurationManagerImpl

داخلی::GenericConnectivityManagerImpl_Thread

friend class Internal::GenericConnectivityManagerImpl_Thread

داخلی::GenericPlatformManagerImpl

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

توابع عمومی

AddEventHandler

WEAVE_ERROR AddEventHandler(
  EventHandlerFunct handler,
  intptr_t arg
)

InitWeaveStack

WEAVE_ERROR InitWeaveStack()

LockWeaveStack

void LockWeaveStack(
  void
)

RemoveEventHandler

void RemoveEventHandler(
  EventHandlerFunct handler,
  intptr_t arg
)

RunEventLoop

void RunEventLoop(
  void
)

ScheduleWork

void ScheduleWork(
  AsyncWorkFunct workFunct,
  intptr_t arg
)

StartEventLoopTask

WEAVE_ERROR StartEventLoopTask(
  void
)

TryLockWeaveStack را امتحان کنید

bool TryLockWeaveStack(
  void
)

باز کردن WeaveStack

void UnlockWeaveStack(
  void
)

توابع محافظت شده

PlatformManager

 PlatformManager()=default

PlatformManager

 PlatformManager(
  const PlatformManager &
)=delete

PlatformManager

 PlatformManager(
  const PlatformManager &&
)=delete

اپراتور=

PlatformManager & operator=(
  const PlatformManager &
)=delete

~PlatformManager

 ~PlatformManager()=default