nl::Weave::DeviceLayer::Internal::GenericConnectivityManagerImpl_Thread

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

Fornisce un'implementazione generica di funzionalità di ConnectivityManager specifiche per il Wi-Fi da utilizzare sulle piattaforme che supportano Thread.

Riepilogo

Questa classe deve essere ereditata (direttamente o indirettamente) dalla classe ConnectivityManagerImpl, che viene visualizzata anche come parametro ImplClass del modello.

La classe GenericConnectivityManagerImpl_Thread<> è progettata per essere indipendente dallo stack Thread specifico in uso, il che implica, ad esempio, che il codice non utilizza direttamente alcuna API OpenThread. A questo scopo, delega tutte le operazioni specifiche dello stack alla classe ThreadStackManager.

Funzioni protette

UpdateServiceConnectivity(void)
void
_ClearThreadProvision(void)
void
_GetThreadDeviceType(void)
ConnectivityManager::ThreadDeviceType
_GetThreadMode(void)
ConnectivityManager::ThreadMode
_GetThreadPollingConfig(ConnectivityManager::ThreadPollingConfig & pollingConfig)
void
_HaveServiceConnectivityViaThread(void)
bool
_Init(void)
void
_IsThreadApplicationControlled(void)
bool
_IsThreadAttached(void)
bool
_IsThreadEnabled(void)
bool
_IsThreadProvisioned(void)
bool
_OnPlatformEvent(const WeaveDeviceEvent *event)
void
_SetThreadDeviceType(ConnectivityManager::ThreadDeviceType deviceType)
_SetThreadMode(ConnectivityManager::ThreadMode val)
_SetThreadPollingConfig(const ConnectivityManager::ThreadPollingConfig & pollingConfig)

Funzioni protette

UpdateServiceConnectivity

void UpdateServiceConnectivity(
  void
)

_ClearThreadProvisioning

void _ClearThreadProvision(
  void
)

_GetThreadDeviceType

ConnectivityManager::ThreadDeviceType _GetThreadDeviceType(
  void
)

_OttieniThreadMode

ConnectivityManager::ThreadMode _GetThreadMode(
  void
)

_GetThreadPollingConfig

void _GetThreadPollingConfig(
  ConnectivityManager::ThreadPollingConfig & pollingConfig
)

_AvereServiceConnectivityViaThread

bool _HaveServiceConnectivityViaThread(
  void
)

_Inizia

void _Init(
  void
)

_IsThreadApplicationControlled

bool _IsThreadApplicationControlled(
  void
)

_IsThreadAttached

bool _IsThreadAttached(
  void
)

_IsThreadEnabled

bool _IsThreadEnabled(
  void
)

_Provisioning effettuato da IsThread

bool _IsThreadProvisioned(
  void
)

_OnPlatformEvent

void _OnPlatformEvent(
  const WeaveDeviceEvent *event
)

_SetThreadDeviceType

WEAVE_ERROR _SetThreadDeviceType(
  ConnectivityManager::ThreadDeviceType deviceType
)

_ImpostaThreadMode

WEAVE_ERROR _SetThreadMode(
  ConnectivityManager::ThreadMode val
)

_SetThreadPollingConfig

WEAVE_ERROR _SetThreadPollingConfig(
  const ConnectivityManager::ThreadPollingConfig & pollingConfig
)