nl:: بافت:: DeviceLayer:: TraitManager

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

انتشار و اشتراک ویژگی های مدیریت داده های بافت را برای دستگاه Weave مدیریت می کند.

خلاصه

انواع عمومی

ServiceSubscriptionMode enum

توابع عمومی

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)

توابع محافظت شده

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

انواع عمومی

ServiceSubscriptionMode

 ServiceSubscriptionMode

کلاس های دوستان

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

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

داخلی::GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

داخلی::GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

توابع عمومی

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
)

توابع محافظت شده

TraitManager

 TraitManager()=default

TraitManager

 TraitManager(
 
const TraitManager &
)=delete

TraitManager

 TraitManager(
 
const TraitManager &&
)=delete

اپراتور=

TraitManager & operator=(
 
const TraitManager &
)=delete

~TraitManager

 ~TraitManager()=default