AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
ReportStateHandler.cpp File Reference
#include <AVSCommon/Utils/Error/FinallyGuard.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <Settings/SettingEventSender.h>
#include "System/ReportStateHandler.h"
Include dependency graph for ReportStateHandler.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::capabilityAgents
 
 alexaClientSDK::capabilityAgents::system
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string alexaClientSDK::capabilityAgents::system::TAG ("ReportStateHandler")
 String to identify log entries originating from this file. More...
 
static bool alexaClientSDK::capabilityAgents::system::initializeDataBase (storage::MiscStorageInterface &storage)
 

Variables

static const std::string alexaClientSDK::capabilityAgents::system::REPORT_STATE_NAMESPACE = "System"
 This string holds the namespace for AVS enpointing. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::REPORT_STATE_DIRECTIVE = "ReportState"
 This string holds the name of the directive that's being sent for report states. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::PENDING_REPORT_STATE_KEY = "pendingReportState"
 Key for pending report value. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::REPORT_STATE_COMPONENT_NAME = "ReportStateHandler"
 Component name used to store pending value in the misc storage. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::REPORT_STATE_TABLE = "ReportStateTable"
 The report state table name. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::PENDING_REPORT_VALUE = "true"
 The value we add to the database when a report is pending. More...
 
static const settings::SettingEventMetadata alexaClientSDK::capabilityAgents::system::REPORT_STATE_METADATA
 This structure represents the report state event metadata. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0