nl:: Weave:: Profiles:: DataManagement_Current:: TraitCatalogBase
Đây là một lớp trừu tượng.
Tóm tắt
Tính kế thừa
Các lớp con đã biết trực tiếp:nl::Weave::Profiles::DataManagement_Current::genericTraitCatalogimpl< T >
nl::Weave::Profiles::DataManagement_Current::SingleResourceTraitCatalog< T >
Hàm công khai |
|
---|---|
AddressToHandle(TLV::TLVReader & aReader, TraitDataHandle & aHandle, SchemaVersionRange & aSchemaVersionRange) const =0
|
virtual WEAVE_ERROR
Với một trình đọc ở vị trí Đường dẫn::kCsTag_RootSection trên đường dẫn WDM, hãy phân tích cú pháp cấu trúc đó và trả về tay cầm phù hợp với đặc điểm.
|
DispatchEvent(uint16_t aEvent, void *aContext) const =0
|
virtual WEAVE_ERROR
Gửi một sự kiện đến tất cả bản sao dữ liệu đặc điểm nằm trong danh mục này.
|
GetInstanceId(TraitDataHandle aHandle, uint64_t & aInstanceId) const =0
|
virtual WEAVE_ERROR
|
GetResourceId(TraitDataHandle aHandle, ResourceIdentifier & aResourceId) const =0
|
virtual WEAVE_ERROR
|
HandleToAddress(TraitDataHandle aHandle, TLV::TLVWriter & aWriter, SchemaVersionRange & aSchemaVersionRange) const =0
|
virtual WEAVE_ERROR
Qua một xử lý tính năng, hãy viết TLV cho cấu trúc Đường dẫn::kCsTag_RootSection.
|
Iterate(IteratorCallback aCallback, void *aContext)=0
|
virtual void
|
Locate(TraitDataHandle aHandle, T **aTraitInstance) const =0
|
virtual WEAVE_ERROR
Được cung cấp một tên người dùng, trả về một tệp tham chiếu đến thực thể dữ liệu trong tính năng phù hợp.
|
Locate(T *aTraitInstance, TraitDataHandle & aHandle) const =0
|
virtual WEAVE_ERROR
Nhảy lùi.
|
Hàm công khai
Địa chỉ cầm tay
virtual WEAVE_ERROR AddressToHandle( TLV::TLVReader & aReader, TraitDataHandle & aHandle, SchemaVersionRange & aSchemaVersionRange ) const =0
Với một trình đọc ở vị trí Đường dẫn::kCsTag_RootSection trên đường dẫn WDM, hãy phân tích cú pháp cấu trúc đó và trả về tay cầm phù hợp với đặc điểm.
Sự kiện điều phối
virtual WEAVE_ERROR DispatchEvent( uint16_t aEvent, void *aContext ) const =0
Gửi một sự kiện đến tất cả bản sao dữ liệu đặc điểm nằm trong danh mục này.
GetInstanceId
virtual WEAVE_ERROR GetInstanceId( TraitDataHandle aHandle, uint64_t & aInstanceId ) const =0
GetResourceId
virtual WEAVE_ERROR GetResourceId( TraitDataHandle aHandle, ResourceIdentifier & aResourceId ) const =0
Xử lý địa chỉ
virtual WEAVE_ERROR HandleToAddress( TraitDataHandle aHandle, TLV::TLVWriter & aWriter, SchemaVersionRange & aSchemaVersionRange ) const =0
Qua một xử lý tính năng, hãy viết TLV cho cấu trúc Đường dẫn::kCsTag_RootSection.
Làm lại
virtual void Iterate( IteratorCallback aCallback, void *aContext )=0
Định vị
virtual WEAVE_ERROR Locate( TraitDataHandle aHandle, T **aTraitInstance ) const =0
Được cung cấp một tên người dùng, trả về một tệp tham chiếu đến thực thể dữ liệu trong tính năng phù hợp.
Định vị
virtual WEAVE_ERROR Locate( T *aTraitInstance, TraitDataHandle & aHandle ) const =0
Nhảy lùi.