nl:: Weave:: DeviceLayer:: Internal:: GenericPlatformManagerImpl
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericPlatformManagerImpl.h>
Fornece uma implementação genérica dos recursos do PlatformManager que funciona em várias plataformas.
Resumo
Este modelo contém implementações de recursos selecionados da interface abstrata do PlatformManager adequadas para uso em todas as plataformas. Ele se destina a ser herdada (direta ou indiretamente) pela classe PlatformManagerImpl, que também aparece como o parâmetro ImplClass do modelo.
Herança
Subclasses conhecidas diretas:nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS< PlatformManagerImpl >
nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS< ImplClass >
Atributos protegidos |
|
---|---|
mAppEventHandlerList
|
Funções protegidas |
|
---|---|
DispatchEventToApplication(const WeaveDeviceEvent *event)
|
void
|
DispatchEventToDeviceLayer(const WeaveDeviceEvent *event)
|
void
|
DispatchEventToSystemLayer(const WeaveDeviceEvent *event)
|
void
|
_AddEventHandler(PlatformManager::EventHandlerFunct handler, intptr_t arg)
|
|
_DispatchEvent(const WeaveDeviceEvent *event)
|
void
|
_InitWeaveStack()
|
|
_RemoveEventHandler(PlatformManager::EventHandlerFunct handler, intptr_t arg)
|
void
|
_ScheduleWork(AsyncWorkFunct workFunct, intptr_t arg)
|
void
|
Funções estáticas protegidas |
|
---|---|
HandleMessageLayerActivityChanged(bool messageLayerIsActive)
|
void
|
HandleSessionEstablished(WeaveSecurityManager *sm, WeaveConnection *con, void *reqState, uint16_t sessionKeyId, uint64_t peerNodeId, uint8_t encType)
|
void
|
Atributos protegidos
mAppEventHandlerList
AppEventHandler * mAppEventHandlerList
Funções protegidas
DispatchEventToApplication
void DispatchEventToApplication( const WeaveDeviceEvent *event )
DispatchEventToDeviceLayer
void DispatchEventToDeviceLayer( const WeaveDeviceEvent *event )
DispatchEventToSystemLayer
void DispatchEventToSystemLayer( const WeaveDeviceEvent *event )
_AddEventHandler
WEAVE_ERROR _AddEventHandler( PlatformManager::EventHandlerFunct handler, intptr_t arg )
_DispatchEvent
void _DispatchEvent( const WeaveDeviceEvent *event )
_InitWeaveStack
WEAVE_ERROR _InitWeaveStack()
_RemoveEventHandler
void _RemoveEventHandler( PlatformManager::EventHandlerFunct handler, intptr_t arg )
_AgendadoTrabalho
void _ScheduleWork( AsyncWorkFunct workFunct, intptr_t arg )
Funções estáticas protegidas
HandleMessageLayerActivityChanged
void HandleMessageLayerActivityChanged( bool messageLayerIsActive )
HandleSessionEstablished
void HandleSessionEstablished( WeaveSecurityManager *sm, WeaveConnection *con, void *reqState, uint16_t sessionKeyId, uint64_t peerNodeId, uint8_t encType )