nl:: Weave:: DeviceLayer:: PlatformManager
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/PlatformManager.h>
Provides features for initializing and interacting with the Weave network stack on a Weave-enabled device.
Summary
Inheritance
Direct Known Subclasses:nl::Weave::DeviceLayer::PlatformManagerImpl
nl::Weave::DeviceLayer::PlatformManagerImpl
nl::Weave::DeviceLayer::PlatformManagerImpl
Public types |
|
---|---|
EventHandlerFunct)(const WeaveDeviceEvent *event, intptr_t arg)
|
typedefvoid(*
|
Friend classes |
|
---|---|
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
|
Public functions |
|
---|---|
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
|
Protected functions |
|
---|---|
PlatformManager()=default
|
|
PlatformManager(const PlatformManager &)=delete
|
|
PlatformManager(const PlatformManager &&)=delete
|
|
operator=(const PlatformManager &)=delete
|
|
~PlatformManager()=default
|
|
Public types
EventHandlerFunct
void(* EventHandlerFunct)(const WeaveDeviceEvent *event, intptr_t arg)
Friend classes
Internal::BLEManagerImpl
friend class Internal::BLEManagerImpl
Internal::FabricProvisioningServer
friend class Internal::FabricProvisioningServer
Internal::GenericConfigurationManagerImpl
friend class Internal::GenericConfigurationManagerImpl
Internal::GenericConnectivityManagerImpl_Thread
friend class Internal::GenericConnectivityManagerImpl_Thread
Internal::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
Internal::ServiceProvisioningServer
friend class Internal::ServiceProvisioningServer
Public functions
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 )
Protected functions
PlatformManager
PlatformManager()=default
PlatformManager
PlatformManager( const PlatformManager & )=delete
PlatformManager
PlatformManager( const PlatformManager && )=delete
operator=
PlatformManager & operator=( const PlatformManager & )=delete
~PlatformManager
~PlatformManager()=default