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

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

האפליקציה מספקת יישום כללי של תכונות ConnectivityManager שספציפיות ל-Wi-Fi לשימוש בפלטפורמות שתומכות ב-Thread.

סיכום

המחלקה הזו מיועדת לעבור בירושה (באופן ישיר או עקיף) למחלקה ConnectivityManagerImpl, שמופיעה גם כפרמטר ImplClass של התבנית.

המחלקה GeneralConnectivityManagerImpl_Thread<> תוכננה להיות בלתי תלויה בסטאק Thread הפרטני שנמצא בשימוש, דבר המרמז, למשל, על כך שהקוד לא עושה שימוש ישיר באף ממשק API של OpenThread. אפשר לעשות זאת על ידי הענקת גישה לכל הפעולות הספציפיות למקבץ למחלקה ThreadStackManager.

פונקציות מוגנות

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)

פונקציות מוגנות

UpdateServiceConnectivity

void UpdateServiceConnectivity(
  void
)

_ClearThreadהקצאה

void _ClearThreadProvision(
  void
)

_GetThreadDeviceType

ConnectivityManager::ThreadDeviceType _GetThreadDeviceType(
  void
)

_GetThreadMode

ConnectivityManager::ThreadMode _GetThreadMode(
  void
)

_GetThreadPollingConfig

void _GetThreadPollingConfig(
  ConnectivityManager::ThreadPollingConfig & pollingConfig
)

_HaveServiceConnectivityViaThread

bool _HaveServiceConnectivityViaThread(
  void
)

_Init

void _Init(
  void
)

_IsThreadApplicationControlled

bool _IsThreadApplicationControlled(
  void
)

_IsThreadAttached

bool _IsThreadAttached(
  void
)

_IsThreadEnabled

bool _IsThreadEnabled(
  void
)

_IsThreadProvideed

bool _IsThreadProvisioned(
  void
)

_OnPlatformEvent

void _OnPlatformEvent(
  const WeaveDeviceEvent *event
)

_SetThreadDeviceType

WEAVE_ERROR _SetThreadDeviceType(
  ConnectivityManager::ThreadDeviceType deviceType
)

_SetThreadMode

WEAVE_ERROR _SetThreadMode(
  ConnectivityManager::ThreadMode val
)

_SetThreadPollingConfig

WEAVE_ERROR _SetThreadPollingConfig(
  const ConnectivityManager::ThreadPollingConfig & pollingConfig
)