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

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

Memberikan implementasi umum fitur PlatformManager yang berfungsi di berbagai platform.

Ringkasan

Template ini berisi penerapan fitur tertentu dari antarmuka abstrak PlatformManager yang cocok untuk digunakan di semua platform. Class ini dimaksudkan untuk diwarisi (langsung atau tidak langsung) oleh class PlatformManagerImpl, yang juga muncul sebagai parameter ImplClass template.

Inheritance

Subclass yang Dikenal Langsung:
  nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS&lt; PlatformManagerImpl >
  nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS&lt; ImplClass >

Atribut yang dilindungi

mAppEventHandlerList

Fungsi yang dilindungi

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

Fungsi statis yang dilindungi

HandleMessageLayerActivityChanged(bool messageLayerIsActive)
void
HandleSessionEstablished(WeaveSecurityManager *sm, WeaveConnection *con, void *reqState, uint16_t sessionKeyId, uint64_t peerNodeId, uint8_t encType)
void

Atribut yang dilindungi

mAppEventHandlerList

AppEventHandler * mAppEventHandlerList

Fungsi yang dilindungi

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
)

_JadwalKerja

void _ScheduleWork(
  AsyncWorkFunct workFunct,
  intptr_t arg
)

Fungsi statis yang dilindungi

HandleMessageLayerActivityChanged

void HandleMessageLayerActivityChanged(
  bool messageLayerIsActive
)

HandleSessionEstablished

void HandleSessionEstablished(
  WeaveSecurityManager *sm,
  WeaveConnection *con,
  void *reqState,
  uint16_t sessionKeyId,
  uint64_t peerNodeId,
  uint8_t encType
)