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 写入器和指示值是否为 null 的布尔值,从将构建通知的特征来源获取数据。
|
GetLeafData(PropertyPathHandle aLeafHandle, uint64_t aTagToWrite, nl::Weave::TLV::TLVWriter & aWriter)=0
|
virtual WEAVE_ERROR
给定叶节点的路径句柄和 TLV 写入器,从被调用方获取数据。
|
公共函数
GetData
virtual WEAVE_ERROR GetData( PropertyPathHandle aHandle, uint64_t aTagToWrite, nl::Weave::TLV::TLVWriter & aWriter, bool & aIsNull, bool & aIsPresent )=0
给定节点的路径句柄、TLV 写入器和指示值是否为 null 的布尔值,从将构建通知的特征来源获取数据。
如果路径句柄不是叶节点,TDM 将处理向写入者写入值的操作(例如打开容器、使结构体为空等)。如果某个非叶节点为 null 或不存在,TDM 将不会为其子节点调用 GetData。
仅对可为 null、可选、临时或叶的句柄调用此函数。预期是,任何具有已启用这些选项的句柄的特征都将实现适当的逻辑来填充 aIsNull 和 aIsPresent。
具体说明 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
参数 |
|
||||||||||
返回值 |
|
GetLeafData
virtual WEAVE_ERROR GetLeafData( PropertyPathHandle aLeafHandle, uint64_t aTagToWrite, nl::Weave::TLV::TLVWriter & aWriter )=0