nl::Weave::DeviceLayer::TraitManager

#include <src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h>

Quản lý việc xuất bản và gói thuê bao các tính năng Quản lý dữ liệu Weave cho một thiết bị Weave.

Tóm tắt

Loại công khai

ServiceSubscriptionMode enum

Lớp học bạn bè

::nl::Weave::DeviceLayer::PlatformManagerImpl
friend class
Internal::GenericPlatformManagerImpl
friend class
Internal::GenericPlatformManagerImpl_FreeRTOS
friend class

Hàm công khai

GetServiceSubscribeConfirmIntervalMS(void) const
uint32_t
GetServiceSubscriptionMode(void)
ServiceSubscriptionMode
IsServiceSubscriptionEstablished(void)
bool
PublishTrait(const uint64_t & instanceId, TraitDataSource *dataSource)
PublishTrait(const ResourceIdentifier & resId, const uint64_t & instanceId, TraitDataSource *dataSource)
SetServiceSubscribeConfirmIntervalMS(uint32_t val) const
SetServiceSubscriptionMode(ServiceSubscriptionMode val)
SubscribeServiceTrait(const ResourceIdentifier & resId, const uint64_t & instanceId, PropertyPathHandle basePathHandle, TraitDataSink *dataSink)
UnpublishTrait(TraitDataSource *dataSource)
UnsubscribeServiceTrait(TraitDataSink *dataSink)

Hàm được bảo vệ

TraitManager()=default
TraitManager(const TraitManager &)=delete
TraitManager(const TraitManager &&)=delete
operator=(const TraitManager &)=delete
~TraitManager()=default

Loại công khai

ServiceSubscriptionMode

 ServiceSubscriptionMode

Lớp học bạn bè

::nl::Weave::DeviceLayer::PlatformManagerImpl

friend class ::nl::Weave::DeviceLayer::PlatformManagerImpl

Nội bộ::GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

Internal::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

Hàm công khai

GetServiceSubscribeConfirmIntervalMS

uint32_t GetServiceSubscribeConfirmIntervalMS(
  void
) const 

GetServiceSubscriptionMode

ServiceSubscriptionMode GetServiceSubscriptionMode(
  void
)

IsServiceSubscriptionEstablished

bool IsServiceSubscriptionEstablished(
  void
)

PublishTrait

WEAVE_ERROR PublishTrait(
  const uint64_t & instanceId,
  TraitDataSource *dataSource
)

PublishTrait

WEAVE_ERROR PublishTrait(
  const ResourceIdentifier & resId,
  const uint64_t & instanceId,
  TraitDataSource *dataSource
)

SetServiceSubscribeConfirmIntervalMS

WEAVE_ERROR SetServiceSubscribeConfirmIntervalMS(
  uint32_t val
) const 

SetServiceSubscriptionMode

WEAVE_ERROR SetServiceSubscriptionMode(
  ServiceSubscriptionMode val
)

SubscribeServiceTrait

WEAVE_ERROR SubscribeServiceTrait(
  const ResourceIdentifier & resId,
  const uint64_t & instanceId,
  PropertyPathHandle basePathHandle,
  TraitDataSink *dataSink
)

UnpublishTrait

WEAVE_ERROR UnpublishTrait(
  TraitDataSource *dataSource
)

UnsubscribeServiceTrait

WEAVE_ERROR UnsubscribeServiceTrait(
  TraitDataSink *dataSink
)

Hàm được bảo vệ

TraitManager

 TraitManager()=default

TraitManager

 TraitManager(
  const TraitManager &
)=delete

TraitManager

 TraitManager(
  const TraitManager &&
)=delete

operator=

TraitManager & operator=(
  const TraitManager &
)=delete

~TraitManager

 ~TraitManager()=default