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&lt;PlatformManagerImpl >
  nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS&lt;Impl 類別 >

受保護的屬性

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
)

_安排工作時間

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
)