AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
In-memory stub implementation of PropertiesFactoryInterface
.
More...
#include <StubPropertiesFactory.h>
Public Member Functions | |
PropertiesFactoryInterface functions. | |
std::shared_ptr< PropertiesInterface > | getProperties (const std::string &configUri) noexcept override |
Create properties interface for a given component and namespace. More... | |
Public Member Functions inherited from alexaClientSDK::propertiesInterfaces::PropertiesFactoryInterface | |
virtual | ~PropertiesFactoryInterface ()=default |
Static Public Member Functions | |
static std::shared_ptr< StubPropertiesFactory > | create () noexcept |
! Creates new factory instance. More... | |
In-memory stub implementation of PropertiesFactoryInterface
.
In memory implementation for PropertiesFactoryInterface
. This class is not thread safe.
|
staticnoexcept |
! Creates new factory instance.
This method provides a new property factory instance. This instance has own in-memory storage for all properties.
|
overridevirtualnoexcept |
Create properties interface for a given component and namespace.
This method creates interface to access component specific configuration. The implementation maps URI into implementation-specific configuration container, and URI can be treated as a file location, database or table name, or region in non-volatile memory.
The method may return the same or different instances for the same configuration URI, but if different instances are returned, all of them must provide access to the same configuration container.
uri | Resource URI. The format must conform to RFC3986, but handling is implementation-specific. |
Implements alexaClientSDK::propertiesInterfaces::PropertiesFactoryInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0