nl::Weave::DeviceLayer::Internal::GenericConnectivityManagerImpl_Thread
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConnectivityManagerImpl_Thread.h>
ติดตั้งใช้งานฟีเจอร์ ConnectivityManager ที่เฉพาะเจาะจงตาม Wi-Fi แบบทั่วไปเพื่อใช้กับแพลตฟอร์มที่รองรับเทรด
สรุป
คลาสนี้มีไว้เพื่อรับค่า (โดยตรงหรือโดยอ้อม) โดยคลาส ConnectivityManagerImpl ซึ่งปรากฏเป็นพารามิเตอร์ ImplClass ของเทมเพลตด้วย
ทั่วไปConnectivityManagerImpl_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
)
_ClearThreadProvision
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
)
_IsThreadProvisioned
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
)