nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl

#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericPlatformManagerImpl.h>

ให้บริการฟีเจอร์ PlatformManager แบบทั่วไปที่ทำงานได้ในหลายแพลตฟอร์ม

สรุป

เทมเพลตนี้ประกอบด้วยการติดตั้งใช้งานบางฟีเจอร์จากอินเทอร์เฟซนามธรรมของ PlatformManager ที่เหมาะสมสําหรับการใช้งานในทุกแพลตฟอร์ม คีย์นี้มีไว้เพื่อรับค่า (ทั้งโดยตรงหรือโดยอ้อม) โดยคลาส PlatformManagerImpl ซึ่งปรากฏเป็นพารามิเตอร์ ImplClass ของเทมเพลตด้วย

การสืบทอด

คลาสย่อยที่รู้จักโดยตรง:
  nl::Weave::DeviceLayer::Internal::GeneralPlatformManagerImpl_FreeRTOS< PlatformManagerImpl >
  nl::Weave::DeviceLayer::Internal::GeneralPlatformManagerImpl_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
)

_เหตุการณ์ Dispatch

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
)