nl:: Weave:: DeviceLayer:: Internal:: GenericPlatformManagerImpl
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericPlatformManagerImpl.h>
Fornisce un'implementazione generica delle funzionalità di PlatformManager che funziona su più piattaforme.
Riepilogo
Questo modello contiene le implementazioni di determinate funzionalità dell'interfaccia astratta di PlatformManager che sono adatte all'uso su tutte le piattaforme. Deve essere ereditato (direttamente o indirettamente) dalla classe PlatformManagerImpl, che viene visualizzata anche come parametro ImplClass del modello.
Eredità
Sottoclassi note dirette:nl::Weave::Devicelayer::Internal::GenericPlatformManagerImpl_FreeRTOS< PlatformManagerImpl >
nl::Weave::Devicelayer::Internal::GenericPlatformManagerImpl_FreeRTOS< ImplClass >
Attributi protetti |
|
---|---|
mAppEventHandlerList
|
Funzioni protette |
|
---|---|
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
|
Funzioni statiche protette |
|
---|---|
HandleMessageLayerActivityChanged(bool messageLayerIsActive)
|
void
|
HandleSessionEstablished(WeaveSecurityManager *sm, WeaveConnection *con, void *reqState, uint16_t sessionKeyId, uint64_t peerNodeId, uint8_t encType)
|
void
|
Attributi protetti
mAppEventHandlerList
AppEventHandler * mAppEventHandlerList
Funzioni protette
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 )
_Evento di invio
void _DispatchEvent( const WeaveDeviceEvent *event )
_StackWeaveInit
WEAVE_ERROR _InitWeaveStack()
_RemoveEventHandler
void _RemoveEventHandler( PlatformManager::EventHandlerFunct handler, intptr_t arg )
_ProgrammaLavoro
void _ScheduleWork( AsyncWorkFunct workFunct, intptr_t arg )
Funzioni statiche protette
HandleMessageLayerActivityChanged
void HandleMessageLayerActivityChanged( bool messageLayerIsActive )
HandleSessionEstablished
void HandleSessionEstablished( WeaveSecurityManager *sm, WeaveConnection *con, void *reqState, uint16_t sessionKeyId, uint64_t peerNodeId, uint8_t encType )