nl:: Weave:: Profiles:: DataManagement_Current:: TraitSchemaEngine:: IGetDataDelegate
此為抽象類別。
總結
繼承
直接已知子類別:nl::Weave::Profiles::DataManagement_Current::TraitDataSource
nl::Weave::Profiles::DataManagement_Current::TraitUpdatableDataSink
公開函式 |
|
---|---|
GetData(PropertyPathHandle aHandle, uint64_t aTagToWrite, nl::Weave::TLV::TLVWriter & aWriter, bool & aIsNull, bool & aIsPresent)=0
|
virtual WEAVE_ERROR
為節點指定路徑控點、TLV 寫入器和表示值是否為空值的布林值,從建構通知的特性來源取得資料。
|
GetLeafData(PropertyPathHandle aLeafHandle, uint64_t aTagToWrite, nl::Weave::TLV::TLVWriter & aWriter)=0
|
virtual WEAVE_ERROR
由於分葉節點和 TLV 寫入者的路徑路徑受到呼叫,因此請呼叫接收者的資料。
|
公開函式
取得資料
virtual WEAVE_ERROR GetData( PropertyPathHandle aHandle, uint64_t aTagToWrite, nl::Weave::TLV::TLVWriter & aWriter, bool & aIsNull, bool & aIsPresent )=0
為節點指定路徑控點、TLV 寫入器和表示值是否為空值的布林值,從建構通知的特性來源取得資料。
如果路徑控點不是分葉節點,TDM 會寫入寫入值給寫入器 (例如開啟容器、讓結構失效等)。如果非分葉節點為空值或不存在,TDM 就不會呼叫子項的 GetData。
只有可空值、選用、暫時或分葉的控點才會呼叫此函式。預期任何已啟用控點的控點,將實作適當的邏輯來填入 aIsNull 和 aIspresent。
詳細資料 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
參數 |
|
||||||||||
傳回值 |
|
GetLeafData
virtual WEAVE_ERROR GetLeafData( PropertyPathHandle aLeafHandle, uint64_t aTagToWrite, nl::Weave::TLV::TLVWriter & aWriter )=0