AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
StatesToRangeMapping.cpp File Reference
#include <AVSCommon/AVS/CapabilitySemantics/StatesToRangeMapping.h>
#include <AVSCommon/Utils/JSON/JSONGenerator.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <algorithm>
#include <limits>
Include dependency graph for StatesToRangeMapping.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::avsCommon
 
 alexaClientSDK::avsCommon::avs
 
 alexaClientSDK::avsCommon::avs::capabilitySemantics
 

Macros

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

Functions

static const std::string alexaClientSDK::avsCommon::avs::capabilitySemantics::TYPE_KEY ("@type")
 The "@type" key of mapping object JSON. More...
 
static const std::string alexaClientSDK::avsCommon::avs::capabilitySemantics::MAPPING_TYPE_VALUE ("StatesToRange")
 The "StatesToRange" mapping type. More...
 
static const std::string alexaClientSDK::avsCommon::avs::capabilitySemantics::STATES_KEY ("states")
 The "states" key of mapping object JSON. More...
 
static const std::string alexaClientSDK::avsCommon::avs::capabilitySemantics::RANGE_KEY ("range")
 The "range" key of mapping object JSON. More...
 
static const std::string alexaClientSDK::avsCommon::avs::capabilitySemantics::MIN_VALUE_KEY ("minimumValue")
 The "minimumValue" key of mapping object JSON. More...
 
static const std::string alexaClientSDK::avsCommon::avs::capabilitySemantics::MAX_VALUE_KEY ("maximumValue")
 The "maximumValue" key of mapping object JSON. More...
 
static const std::string alexaClientSDK::avsCommon::avs::capabilitySemantics::EMPTY_JSON ("{}")
 Empty JSON object. More...
 
static const std::string alexaClientSDK::avsCommon::avs::capabilitySemantics::TAG ("StatesToRangeMapping")
 String to identify log entries originating from this file. More...
 

Variables

static constexpr double alexaClientSDK::avsCommon::avs::capabilitySemantics::UNINITIALIZED_DOUBLE = std::numeric_limits<double>::min()
 Indicates m_minValue or m_maxValue is not initialized. More...
 

Macro Definition Documentation

◆ LX

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

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

Parameters
eventThe event 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