nl:: Weave:: DeviceLayer:: Internal:: GenericPlatformManagerImpl
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericPlatformManagerImpl.h>
Cung cấp cách triển khai chung các tính năng PlatformManager hoạt động trên nhiều nền tảng.
Tóm tắt
Mẫu này chứa cách triển khai một số tính năng chọn lọc trên giao diện trừu tượng PlatformManager phù hợp để sử dụng trên tất cả nền tảng. Lớp này sẽ được lớp PlatformManagerImpl kế thừa (trực tiếp hoặc gián tiếp), cũng xuất hiện dưới dạng thông số ImplClass của mẫu.
Tính kế thừa
Lớp con đã biết trực tiếp:nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS< PlatformManagerImpl >
nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS< ImplClass >
Thuộc tính được bảo vệ |
|
---|---|
mAppEventHandlerList
|
Hàm được bảo vệ |
|
---|---|
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
|
Hàm tĩnh được bảo vệ |
|
---|---|
HandleMessageLayerActivityChanged(bool messageLayerIsActive)
|
void
|
HandleSessionEstablished(WeaveSecurityManager *sm, WeaveConnection *con, void *reqState, uint16_t sessionKeyId, uint64_t peerNodeId, uint8_t encType)
|
void
|
Thuộc tính được bảo vệ
mAppEventHandlerList
AppEventHandler * mAppEventHandlerList
Hàm được bảo vệ
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 )
Hàm tĩnh được bảo vệ
HandleMessageLayerActivityChanged
void HandleMessageLayerActivityChanged( bool messageLayerIsActive )
HandleSessionEstablished
void HandleSessionEstablished( WeaveSecurityManager *sm, WeaveConnection *con, void *reqState, uint16_t sessionKeyId, uint64_t peerNodeId, uint8_t encType )