![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <StateReportGenerator.h>
Public Types | |
template<class SettingsManagerT > | |
using | SettingConfigurations = typename settings::SettingsManagerBuilderBase< SettingsManagerT >::SettingConfigurations |
Public Member Functions | |
std::vector< std::string > | generateReport () |
StateReportGenerator ()=default | |
Static Public Member Functions | |
template<class SettingsManagerT > | |
static avsCommon::utils::Optional< StateReportGenerator > | create (std::shared_ptr< SettingsManagerT > settingManager, const SettingConfigurations< SettingsManagerT > &configurations) |
Protected Member Functions | |
StateReportGenerator (const std::vector< std::function< std::string()>> &reportFunctions) | |
This class is responsible for generating a state report for every setting available in a given SettingsManager
.
using alexaClientSDK::capabilityAgents::system::StateReportGenerator::SettingConfigurations = typename settings::SettingsManagerBuilderBase<SettingsManagerT>::SettingConfigurations |
Alias for the SettingsConfigurations
of a given SettingsManager
.
SettingsManagerT | The target settings manager type. |
|
default |
Default constructor. This should only be used by optional.
|
explicitprotected |
Constructor (protected for unit tests).
reportFunctions | The collection of report functions used to generate the entire report. |
|
static |
Create a StateReportGenerator for the given manager with the provided configurations.
SettingsManagerT | The type of the SettingManager. |
settingManager | The manager that exposes the setting states. |
configurations | The configurations which hold the metadata to generate the report. |
std::vector<std::string> alexaClientSDK::capabilityAgents::system::StateReportGenerator::generateReport | ( | ) |
Generate a report for each setting.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0