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

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

Bietet eine allgemeine Implementierung von PlatformManager-Funktionen, die auf mehreren Plattformen funktioniert.

Zusammenfassung

Diese Vorlage enthält Implementierungen ausgewählter Funktionen der abstrakten Benutzeroberfläche von PlatformManager, die auf allen Plattformen verwendet werden können. Sie soll (direkt oder indirekt) von der Klasse PlatformManagerImpl übernommen werden, die auch als ImplClass-Parameter der Vorlage angezeigt wird.

Übernahme

Direkte bekannte Unterklassen:
  nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS< PlatformManagerImpl >
  nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS< ImplClass >

Geschützte Attribute

mAppEventHandlerList

Geschützte Funktionen

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

Geschützte statische Funktionen

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

Geschützte Attribute

mAppEventHandlerList

AppEventHandler * mAppEventHandlerList

Geschützte Funktionen

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
)

_Terminvereinbarung

void _ScheduleWork(
  AsyncWorkFunct workFunct,
  intptr_t arg
)

Geschützte statische Funktionen

HandleMessageLayerActivityChanged

void HandleMessageLayerActivityChanged(
  bool messageLayerIsActive
)

HandleSessionEstablished

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