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)
|
typedefvoid(*
|
好友課程 |
|
---|---|
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
Internal::GenericConnectivityManagerImpl_Thread
friend class Internal::GenericConnectivityManagerImpl_Thread
內部::GenericPlatformManagerImpl
friend class Internal::GenericPlatformManagerImpl
Internal::GenericPlatformManagerImpl_FreeRTOS
friend class Internal::GenericPlatformManagerImpl_FreeRTOS
Internal::GenericThreadStackManagerImpl_OpenThread
friend class Internal::GenericThreadStackManagerImpl_OpenThread
Internal::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 )
UnlockWeaveStack
void UnlockWeaveStack( void )
受保護的函式
PlatformManager
PlatformManager()=default
PlatformManager
PlatformManager( const PlatformManager & )=delete
PlatformManager
PlatformManager( const PlatformManager && )=delete
operator=
PlatformManager & operator=( const PlatformManager & )=delete
~PlatformManager
~PlatformManager()=default