AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
EqualizerCapabilityAgent.cpp File Reference
#include <rapidjson/error/en.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <AVSCommon/AVS/CapabilityConfiguration.h>
#include <AVSCommon/AVS/MessageRequest.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include "acsdkEqualizer/EqualizerCapabilityAgent.h"
Include dependency graph for EqualizerCapabilityAgent.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acsdkEqualizer
 

Macros

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

Functions

static std::string alexaClientSDK::acsdkEqualizer::buildEQStateJson (const EqualizerState &state)
 
bool alexaClientSDK::acsdkEqualizer::parseDirectivePayload (const std::string &payload, Document *document)
 

Variables

static const std::string alexaClientSDK::acsdkEqualizer::TAG {"EqualizerController"}
 String to identify log entries originating from this file. More...
 
static const std::string alexaClientSDK::acsdkEqualizer::NAMESPACE = "EqualizerController"
 The EqualizerController interface namespace. More...
 
static const NamespaceAndName alexaClientSDK::acsdkEqualizer::EQUALIZER_STATE {NAMESPACE, "EqualizerState"}
 The EqualizerController state portion of the Context. More...
 
static const NamespaceAndName alexaClientSDK::acsdkEqualizer::DIRECTIVE_SETBANDS {NAMESPACE, "SetBands"}
 The SetBands directive identifier. More...
 
static const NamespaceAndName alexaClientSDK::acsdkEqualizer::DIRECTIVE_ADJUSTBANDS {NAMESPACE, "AdjustBands"}
 The AdjustBands directive identifier. More...
 
static const NamespaceAndName alexaClientSDK::acsdkEqualizer::DIRECTIVE_RESETBANDS {NAMESPACE, "ResetBands"}
 The ResetBands directive identifier. More...
 
static const NamespaceAndName alexaClientSDK::acsdkEqualizer::DIRECTIVE_SETMODE {NAMESPACE, "SetMode"}
 The SetMode directive identifier. More...
 
static const NamespaceAndName alexaClientSDK::acsdkEqualizer::EVENT_EQUALIZERCHANGED {NAMESPACE, "EqualizerChanged"}
 The EqualizerChanged event identifier. More...
 
static const std::string alexaClientSDK::acsdkEqualizer::EQUALIZER_JSON_INTERFACE_TYPE = "AlexaInterface"
 
static const std::string alexaClientSDK::acsdkEqualizer::EQUALIZER_JSON_INTERFACE_NAME = "EqualizerController"
 Equalizer interface name. More...
 
static const std::string alexaClientSDK::acsdkEqualizer::EQUALIZER_JSON_INTERFACE_VERSION = "1.0"
 Equalizer interface version. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_BANDS [] = "bands"
 Name for "bands" JSON branch. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_SUPPORTED [] = "supported"
 Name for "supported" JSON branch. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_NAME [] = "name"
 Name for "name" JSON value. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_LEVEL [] = "level"
 Name for "level" JSON value. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_RANGE [] = "range"
 Name for "range" JSON branch. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_MINIMUM [] = "minimum"
 Name for "minimum" JSON value. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_MAXIMUM [] = "maximum"
 Name for "maximum" JSON value. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_MODES [] = "modes"
 Name for "modes" JSON branch. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_MODE [] = "mode"
 Name for "mode" JSON value. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_LEVELDELTA [] = "levelDelta"
 Name for "levelDelta" JSON value. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::JSON_KEY_LEVELDIRECTION [] = "levelDirection"
 Name for "levelDirection" JSON value. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::LEVEL_DIRECTION_UP [] = "UP"
 String representing positive level adjustment. More...
 
static constexpr char alexaClientSDK::acsdkEqualizer::LEVEL_DIRECTION_DOWN [] = "DOWN"
 String representing negative level adjustment. 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