nl:: örgü:: Cihaz Katmanı:: Özellik Yöneticisi

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

Bir Weave cihazı için Weave Data Management özelliklerinin yayınlanmasını ve aboneliğini yönetir.

Özet

Genel türler

ServiceSubscriptionMode Sıralama

arkadaş sınıfları

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

Kamu işlevleri

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)

Korumalı fonksiyonlar

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

Genel türler

HizmetAbonelikModu

 ServiceSubscriptionMode

arkadaş sınıfları

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

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

Dahili::GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

Dahili::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

Kamu işlevleri

GetServiceAbone OlOnaylaAralıkMS

uint32_t GetServiceSubscribeConfirmIntervalMS(
  void
) const 

GetServiceAbonelikModu

ServiceSubscriptionMode GetServiceSubscriptionMode(
  void
)

HizmetAboneliğiKuruldu

bool IsServiceSubscriptionEstablished(
  void
)

Yayınlama Özelliği

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

Yayınlama Özelliği

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

SetServiceAbone OlOnaylaAralıkMS

WEAVE_ERROR SetServiceSubscribeConfirmIntervalMS(
  uint32_t val
) const 

HizmetAbonelikModu Ayarla

WEAVE_ERROR SetServiceSubscriptionMode(
  ServiceSubscriptionMode val
)

Abone OlHizmet Özelliği

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

Yayından Kaldır Özellik

WEAVE_ERROR UnpublishTrait(
  TraitDataSource *dataSource
)

Abonelikten ÇıkHizmet Özelliği

WEAVE_ERROR UnsubscribeServiceTrait(
  TraitDataSink *dataSink
)

Korumalı fonksiyonlar

Özellik Yöneticisi

 TraitManager()=default

Özellik Yöneticisi

 TraitManager(
  const TraitManager &
)=delete

Özellik Yöneticisi

 TraitManager(
  const TraitManager &&
)=delete

operatör=

TraitManager & operator=(
  const TraitManager &
)=delete

~Özellik Yöneticisi

 ~TraitManager()=default