class TraitManager
Defined at line 48 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h
Manages publication and subscription of Weave Data Management traits for a Weave device.
Public Methods
ServiceSubscriptionMode GetServiceSubscriptionMode ()
Defined at line 137 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h
WEAVE_ERROR SetServiceSubscriptionMode (ServiceSubscriptionMode val)
bool IsServiceSubscriptionEstablished ()
Defined at line 142 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h
uint32_t GetServiceSubscribeConfirmIntervalMS ()
WEAVE_ERROR SetServiceSubscribeConfirmIntervalMS (uint32_t val)
WEAVE_ERROR SubscribeServiceTrait (const ResourceIdentifier & resId, const uint64_t & instanceId, PropertyPathHandle basePathHandle, TraitDataSink * dataSink)
WEAVE_ERROR UnsubscribeServiceTrait (TraitDataSink * dataSink)
WEAVE_ERROR PublishTrait (const uint64_t & instanceId, TraitDataSource * dataSource)
WEAVE_ERROR PublishTrait (const ResourceIdentifier & resId, const uint64_t & instanceId, TraitDataSource * dataSource)
WEAVE_ERROR UnpublishTrait (TraitDataSource * dataSource)
Protected Methods
void TraitManager ()
Construction/destruction limited to subclasses.
Defined at line 128 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h
void ~TraitManager ()
Defined at line 129 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h
void TraitManager (const TraitManager & )
No copy, move or assignment.
Defined at line 132 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h
void TraitManager (const TraitManager && )
Defined at line 133 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h
TraitManager & operator= (const TraitManager & )
Defined at line 134 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h
Enumerations
enum ServiceSubscriptionMode
| Name | Value |
|---|---|
| kServiceSubscriptionMode_NotSupported | 0 |
| kServiceSubscriptionMode_Disabled | 1 |
| kServiceSubscriptionMode_Enabled | 2 |
===== Members that define the public interface of the TraitManager
Defined at line 63 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/TraitManager.h
Friends
TraitManager & TraitManager ()
template <class>
class GenericPlatformManagerImpl_Fuchsia
template <class>
class GenericPlatformManagerImpl_FreeRTOS
template <class>
class GenericPlatformManagerImpl
class PlatformManagerImpl