nl:: Weave:: DeviceLayer:: TraitManager
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h>
Manages publication and subscription of Weave Data Management traits for a Weave device.
Summary
Public types |
|
---|---|
ServiceSubscriptionMode
|
enum |
Friend classes |
|
---|---|
::nl::Weave::DeviceLayer::PlatformManagerImpl
|
friend class
|
Internal::GenericPlatformManagerImpl
|
friend class
|
Internal::GenericPlatformManagerImpl_FreeRTOS
|
friend class
|
Public functions |
|
---|---|
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)
|
Protected functions |
|
---|---|
TraitManager()=default
|
|
TraitManager(const TraitManager &)=delete
|
|
TraitManager(const TraitManager &&)=delete
|
|
operator=(const TraitManager &)=delete
|
|
~TraitManager()=default
|
|
Public types
ServiceSubscriptionMode
ServiceSubscriptionMode
Friend classes
::nl::Weave::DeviceLayer::PlatformManagerImpl
friend class ::nl::Weave::DeviceLayer::PlatformManagerImpl
Internal::GenericPlatformManagerImpl
friend class Internal::GenericPlatformManagerImpl
Internal::GenericPlatformManagerImpl_FreeRTOS
friend class Internal::GenericPlatformManagerImpl_FreeRTOS
Public functions
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 )
Protected functions
TraitManager
TraitManager()=default
TraitManager
TraitManager( const TraitManager & )=delete
TraitManager
TraitManager( const TraitManager && )=delete
operator=
TraitManager & operator=( const TraitManager & )=delete
~TraitManager
~TraitManager()=default