AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Types | Public Member Functions | List of all members
alexaClientSDK::capabilityAgents::rangeController::test::MockRangeControllerInterface Class Reference
Inheritance diagram for alexaClientSDK::capabilityAgents::rangeController::test::MockRangeControllerInterface:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilityAgents::rangeController::test::MockRangeControllerInterface:
Collaboration graph
[legend]

Public Types

using RangeValueResult = std::pair< AlexaResponseType, std::string >
 
using GetRangeValueResult = std::pair< AlexaResponseType, avsCommon::utils::Optional< RangeState > >
 
- Public Types inherited from alexaClientSDK::avsCommon::sdkInterfaces::rangeController::RangeControllerInterface
using RangeState = avsCommon::sdkInterfaces::rangeController::RangeControllerObserverInterface::RangeState
 Alias to improve readability. More...
 

Public Member Functions

 MOCK_METHOD0 (getConfiguration, RangeControllerConfiguration())
 
 MOCK_METHOD2 (setRangeValue, RangeValueResult(const double value, const AlexaStateChangeCauseType cause))
 
 MOCK_METHOD2 (adjustRangeValue, RangeValueResult(const double rangeValueDelta, const AlexaStateChangeCauseType cause))
 
 MOCK_METHOD0 (getRangeState, GetRangeValueResult())
 
 MOCK_METHOD1 (addObserver, bool(std::shared_ptr< RangeControllerObserverInterface >))
 
 MOCK_METHOD1 (removeObserver, void(const std::shared_ptr< RangeControllerObserverInterface > &))
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::rangeController::RangeControllerInterface
virtual ~RangeControllerInterface ()=default
 
virtual RangeControllerConfiguration getConfiguration ()=0
 
virtual std::pair< avsCommon::avs::AlexaResponseType, std::string > setRangeValue (double range, AlexaStateChangeCauseType cause)=0
 
virtual std::pair< avsCommon::avs::AlexaResponseType, std::string > adjustRangeValue (double deltaRange, AlexaStateChangeCauseType cause)=0
 
virtual std::pair< avsCommon::avs::AlexaResponseType, utils::Optional< RangeState > > getRangeState ()=0
 
virtual bool addObserver (std::shared_ptr< RangeControllerObserverInterface > observer)=0
 
virtual void removeObserver (const std::shared_ptr< RangeControllerObserverInterface > &observer)=0
 

Member Typedef Documentation

◆ GetRangeValueResult

◆ RangeValueResult

Member Function Documentation

◆ MOCK_METHOD0() [1/2]

alexaClientSDK::capabilityAgents::rangeController::test::MockRangeControllerInterface::MOCK_METHOD0 ( getConfiguration  ,
RangeControllerConfiguration()   
)

◆ MOCK_METHOD0() [2/2]

alexaClientSDK::capabilityAgents::rangeController::test::MockRangeControllerInterface::MOCK_METHOD0 ( getRangeState  ,
GetRangeValueResult()   
)

◆ MOCK_METHOD1() [1/2]

alexaClientSDK::capabilityAgents::rangeController::test::MockRangeControllerInterface::MOCK_METHOD1 ( addObserver  ,
bool(std::shared_ptr< RangeControllerObserverInterface >)   
)

◆ MOCK_METHOD1() [2/2]

alexaClientSDK::capabilityAgents::rangeController::test::MockRangeControllerInterface::MOCK_METHOD1 ( removeObserver  ,
void(const std::shared_ptr< RangeControllerObserverInterface > &)   
)

◆ MOCK_METHOD2() [1/2]

alexaClientSDK::capabilityAgents::rangeController::test::MockRangeControllerInterface::MOCK_METHOD2 ( setRangeValue  ,
RangeValueResult(const double value, const AlexaStateChangeCauseType cause)   
)

◆ MOCK_METHOD2() [2/2]

alexaClientSDK::capabilityAgents::rangeController::test::MockRangeControllerInterface::MOCK_METHOD2 ( adjustRangeValue  ,
RangeValueResult(const double rangeValueDelta, const AlexaStateChangeCauseType cause)   
)

The documentation for this class was generated from the following file:

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