AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
DefaultEndpointRangeControllerHandler.cpp File Reference
#include "SampleApp/ConsolePrinter.h"
#include "SampleApp/DefaultEndpoint/DefaultEndpointRangeControllerHandler.h"
#include <AVSCommon/Utils/Configuration/ConfigurationNode.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <AVSCommon/Utils/Logger/Logger.h>
Include dependency graph for DefaultEndpointRangeControllerHandler.cpp:

Namespaces

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

Macros

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

Functions

static const std::string TAG ("DefaultEndpointRangeControllerHandler")
 String to identify log entries originating from this file. More...
 
static void alexaClientSDK::sampleApp::notifyObservers (const avsCommon::sdkInterfaces::rangeController::RangeControllerInterface::RangeState &rangeState, avsCommon::sdkInterfaces::AlexaStateChangeCauseType cause, const std::list< std::shared_ptr< avsCommon::sdkInterfaces::rangeController::RangeControllerObserverInterface >> &observers)
 

Variables

static const double MAXIMUM_RANGE = 5
 The range controller maximum range. More...
 
static const double MINIMUM_RANGE = 1
 The range controller minimum range. More...
 
static const double RANGE_PRECISION = 1
 The range controller precision. 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.

Function Documentation

◆ TAG()

static const std::string TAG ( "DefaultEndpointRangeControllerHandler"  )
static

String to identify log entries originating from this file.

Variable Documentation

◆ MAXIMUM_RANGE

const double MAXIMUM_RANGE = 5
static

The range controller maximum range.

◆ MINIMUM_RANGE

const double MINIMUM_RANGE = 1
static

The range controller minimum range.

◆ RANGE_PRECISION

const double RANGE_PRECISION = 1
static

The range controller precision.

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