nl:: Weave:: DeviceLayer:: Internal:: GenericThreadStackManagerImpl_OpenThread_LwIP
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/OpenThread/GenericThreadStackManagerImpl_OpenThread_LwIP.h>
มอบการใช้งานฟีเจอร์ ThreadStackManager แบบทั่วไปที่ทำงานร่วมกับ OpenThread และ LwIP
สรุป
เทมเพลตนี้ประกอบด้วยการติดตั้งใช้งานฟีเจอร์บางอย่างจากอินเทอร์เฟซนามธรรม ThreadStackManager ที่เหมาะสำหรับการใช้งานในอุปกรณ์ที่ใช้ OpenThread และ LwIP ร่วมกัน และมีจุดประสงค์เพื่อการรับค่าโดยตรงหรือโดยอ้อมโดยคลาส ThreadStackManagerImpl ซึ่งปรากฏเป็นพารามิเตอร์ ImplClass ของเทมเพลตด้วย
การสืบทอด
รับค่าจาก nl::Weave::DeviceLayer::Internal::genericThreadStackManagerImpl_OpenThread< ImplClass >
ฟังก์ชันสาธารณะ |
|
---|---|
ThreadNetIf() const
|
struct netif *
|
ฟังก์ชันที่มีการป้องกัน |
|
---|---|
DoInit(otInstance *otInst)
|
|
UpdateThreadInterface(bool addrChange)
|
void
|
_OnPlatformEvent(const WeaveDeviceEvent *event)
|
void
|
ฟังก์ชันสาธารณะ
ThreadNetIf
struct netif * ThreadNetIf() const
ฟังก์ชันที่มีการป้องกัน
DoInit
WEAVE_ERROR DoInit( otInstance *otInst )
UpdateThreadInterface
void UpdateThreadInterface( bool addrChange )