AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions
PeripheralEndpointToggleControllerHandler.cpp File Reference
#include "SampleApp/ConsolePrinter.h"
#include "SampleApp/PeripheralEndpoint/PeripheralEndpointToggleControllerHandler.h"
#include <AVSCommon/Utils/Configuration/ConfigurationNode.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <AVSCommon/Utils/Logger/Logger.h>
Include dependency graph for PeripheralEndpointToggleControllerHandler.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 ("PeripheralEndpointToggleControllerHandler")
 String to identify log entries originating from this file. More...
 
static void alexaClientSDK::sampleApp::notifyObservers (const avsCommon::sdkInterfaces::toggleController::ToggleControllerInterface::ToggleState &toggleState, avsCommon::sdkInterfaces::AlexaStateChangeCauseType cause, const std::list< std::shared_ptr< avsCommon::sdkInterfaces::toggleController::ToggleControllerObserverInterface >> &observers)
 

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 ( "PeripheralEndpointToggleControllerHandler"  )
static

String to identify log entries originating from this file.

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