AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
RangeControllerCapabilityAgent.cpp File Reference
#include "RangeController/RangeControllerCapabilityAgent.h"
#include <ostream>
#include <rapidjson/document.h>
#include <rapidjson/error/en.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <AVSCommon/AVS/CapabilityResources.h>
#include <AVSCommon/AVS/CapabilitySemantics/CapabilitySemantics.h>
#include <AVSCommon/Utils/JSON/JSONGenerator.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <AVSCommon/Utils/Logger/Logger.h>
Include dependency graph for RangeControllerCapabilityAgent.cpp:

Namespaces

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

Macros

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

Functions

static bool alexaClientSDK::capabilityAgents::rangeController::isRangeControllerAttributesValid (const RangeControllerAttributes &rangeControllerAttributes, const RangeControllerInterface::RangeControllerConfiguration &rangeControllerConfiguration)
 
static bool alexaClientSDK::capabilityAgents::rangeController::parseDirectivePayload (const std::string &payload, Document *document)
 

Variables

static const std::string alexaClientSDK::capabilityAgents::rangeController::TAG {"RangeControllerCapabilityAgent"}
 String to identify log entries originating from this file. More...
 
static const std::string alexaClientSDK::capabilityAgents::rangeController::NAMESPACE {"Alexa.RangeController"}
 The namespace for this capability agent. More...
 
static const std::string alexaClientSDK::capabilityAgents::rangeController::INTERFACE_VERSION {"3"}
 The supported version. More...
 
static const std::string alexaClientSDK::capabilityAgents::rangeController::NAME_SETRANGEVALUE {"SetRangeValue"}
 The name for SetRangeValue directive. More...
 
static const std::string alexaClientSDK::capabilityAgents::rangeController::NAME_ADJUSTRANGEVALUE {"AdjustRangeValue"}
 The name for AdjustRangeValue directive. More...
 
static const std::string alexaClientSDK::capabilityAgents::rangeController::RANGEVALUE_PROPERTY_NAME {"rangeValue"}
 The name of rangeValue property. More...
 
static const std::string alexaClientSDK::capabilityAgents::rangeController::CAPABILITY_RESOURCES_KEY {"capabilityResources"}
 The capabilityResources key. More...
 
static const std::string alexaClientSDK::capabilityAgents::rangeController::CAPABILITY_CONFIGURATION_KEY {"configuration"}
 The configuration key. More...
 
static const std::string alexaClientSDK::capabilityAgents::rangeController::CAPABILITY_SEMANTICS_KEY {"semantics"}
 The semantics key. More...
 
static const char alexaClientSDK::capabilityAgents::rangeController::RANGE_VALUE_KEY [] = "rangeValue"
 The key in the directive payload. More...
 
static const char alexaClientSDK::capabilityAgents::rangeController::RANGE_VALUE_DELTA_KEY [] = "rangeValueDelta"
 The key in the directive payload. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    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