nl:: Weave:: DeviceLayer:: Internal:: GenericPlatformManagerImpl
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericPlatformManagerImpl.h>
Proporciona una implementación genérica de las funciones de PlatformManager que funcionan en varias plataformas.
Resumen
Esta plantilla contiene implementaciones de funciones seleccionadas de la interfaz abstracta PlatformManager que son adecuadas para usarse en todas las plataformas. La clase PlatformManagerImpl, que también aparece como el parámetro ImplClass de la plantilla, está pensado para que lo herede (directa o indirectamente).
Herencia
Subclases conocidas directas:nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS< PlatformManagerImpl >
nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS< ImplClass >
Atributos protegidos |
|
---|---|
mAppEventHandlerList
|
Funciones 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
|
Funciones 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
Funciones 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 )
_Programación del trabajo
void _ScheduleWork( AsyncWorkFunct workFunct, intptr_t arg )
Funciones 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 )