En Google, luchamos por la equidad racial de la comunidad negra. Más información

nl :: Tejido:: DeviceLayer :: TraitManager

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

Gestiona la publicación y suscripción de características de Weave Data Management para un dispositivo Weave.

Resumen

Tipos públicos

ServiceSubscriptionMode enumeración

Clases de amigos

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

Funciones publicas

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)

Funciones protegidas

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

Tipos públicos

ServiceSubscriptionMode

 ServiceSubscriptionMode

Clases de amigos

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

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

Internal :: GenericPlatformManagerImpl

friend class Internal::GenericPlatformManagerImpl

Interno :: GenericPlatformManagerImpl_FreeRTOS

friend class Internal::GenericPlatformManagerImpl_FreeRTOS

Funciones publicas

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
)

SuscribirseServicioTrait

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

No publicarRetrato

WEAVE_ERROR UnpublishTrait(
  TraitDataSource *dataSource
)

Darse de bajaServicioRetrato

WEAVE_ERROR UnsubscribeServiceTrait(
  TraitDataSink *dataSink
)

Funciones protegidas

TraitManager

 TraitManager()=default

TraitManager

 TraitManager(
  const TraitManager &
)=delete

TraitManager

 TraitManager(
  const TraitManager &&
)=delete

operador =

TraitManager & operator=(
  const TraitManager &
)=delete

~ Gestor de rasgos

 ~TraitManager()=default