nl:: Weave:: DeviceLayer:: PlatformManager
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/PlatformManager.h>
Proporciona funciones para inicializar la pila de red de Weave e interactuar con ella en un dispositivo compatible con Weave.
Resumen
Herencia
Subclases conocidas directas:nl::Weave::DeviceLayer::PlatformManagerImpl
nl::Weave::DeviceLayer::PlatformManagerImpl
nl::Weave::DeviceLayer::PlatformManagerImpl
Tipos públicos |
|
---|---|
EventHandlerFunct)(const WeaveDeviceEvent *event, intptr_t arg)
|
typedefvoid(*
|
Clases de amigos |
|
---|---|
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
|
Funciones públicas |
|
---|---|
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
|
Funciones protegidas |
|
---|---|
PlatformManager()=default
|
|
PlatformManager(const PlatformManager &)=delete
|
|
PlatformManager(const PlatformManager &&)=delete
|
|
operator=(const PlatformManager &)=delete
|
|
~PlatformManager()=default
|
|
Tipos públicos
EventHandlerFunct
void(* EventHandlerFunct)(const WeaveDeviceEvent *event, intptr_t arg)
Clases de amigos
Interno::BLEManagerImpl
friend class Internal::BLEManagerImpl
Interno::FabricProvisioningServer
friend class Internal::FabricProvisioningServer
Interno::GenericConfigurationManagerImpl
friend class Internal::GenericConfigurationManagerImpl
Internal::GenericConnectivityManagerImpl_Thread
friend class Internal::GenericConnectivityManagerImpl_Thread
Interno::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
Interno::ServiceProvisioningServer
friend class Internal::ServiceProvisioningServer
Funciones públicas
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 )
Funciones protegidas
PlatformManager
PlatformManager()=default
PlatformManager
PlatformManager( const PlatformManager & )=delete
PlatformManager
PlatformManager( const PlatformManager && )=delete
operator=
PlatformManager & operator=( const PlatformManager & )=delete
~PlatformManager
~PlatformManager()=default