nl:: Weave:: DeviceLayer:: Internal:: GenericPlatformManagerImpl
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericPlatformManagerImpl.h>
提供适用于多个平台的 PlatformManager 功能的通用实现。
摘要
此模板包含 PlatformManager 抽象接口中适合所有平台的精选功能的实现。旨在由 PlatformManagerImpl 类(也作为模板的 ImplClass 参数)直接或间接继承。
继承
直接已知的子类:nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS<PlatformManagerImpl >
nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS<ImplClass >
受保护的属性 |
|
---|---|
mAppEventHandlerList
|
受保护的函数 |
|
---|---|
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
|
受保护的静态函数 |
|
---|---|
HandleMessageLayerActivityChanged(bool messageLayerIsActive)
|
void
|
HandleSessionEstablished(WeaveSecurityManager *sm, WeaveConnection *con, void *reqState, uint16_t sessionKeyId, uint64_t peerNodeId, uint8_t encType)
|
void
|
受保护的属性
mAppEventHandlerList
AppEventHandler * mAppEventHandlerList
受保护的函数
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 )
_ScheduleWork
void _ScheduleWork( AsyncWorkFunct workFunct, intptr_t arg )
受保护的静态函数
HandleMessageLayerActivityChanged
void HandleMessageLayerActivityChanged( bool messageLayerIsActive )
HandleSessionEstablished
void HandleSessionEstablished( WeaveSecurityManager *sm, WeaveConnection *con, void *reqState, uint16_t sessionKeyId, uint64_t peerNodeId, uint8_t encType )