AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker Class Reference

#include <MockPresentationOrchestratorStateTracker.h>

Inheritance diagram for alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD3 (acquireWindow, void(const std::string &clientId, const std::string &windowId, presentationOrchestratorInterfaces::PresentationMetadata metadata))
 
 MOCK_METHOD3 (updatePresentationMetadata, void(const std::string &clientId, const std::string &windowId, presentationOrchestratorInterfaces::PresentationMetadata metadata))
 
 MOCK_METHOD2 (releaseWindow, void(const std::string &clientId, const std::string &windowId))
 
 MOCK_METHOD1 (setDeviceInterface, void(std::string interface))
 
 MOCK_METHOD0 (releaseDeviceInterface, void())
 
 MOCK_METHOD0 (getFocusedInterface, std::string())
 
 MOCK_METHOD0 (getFocusedWindowId, std::string())
 
 MOCK_METHOD1 (setWindows, void(const std::vector< presentationOrchestratorInterfaces::PresentationOrchestratorWindowInstance > &windows))
 
 MOCK_METHOD1 (addWindow, bool(const presentationOrchestratorInterfaces::PresentationOrchestratorWindowInstance &window))
 
 MOCK_METHOD1 (removeWindow, void(const std::string &windowId))
 
 MOCK_METHOD1 (updateWindow, void(const presentationOrchestratorInterfaces::PresentationOrchestratorWindowInstance &window))
 
 MOCK_METHOD0 (getWindowInformation, std::vector< presentationOrchestratorInterfaces::PresentationOrchestratorWindowInfo >())
 
 MOCK_METHOD1 (addWindowObserver, void(std::weak_ptr< presentationOrchestratorInterfaces::PresentationOrchestratorWindowObserverInterface > observer))
 
 MOCK_METHOD1 (removeWindowObserver, void(std::weak_ptr< presentationOrchestratorInterfaces::PresentationOrchestratorWindowObserverInterface > observer))
 
 MOCK_METHOD1 (addStateObserver, void(std::weak_ptr< presentationOrchestratorInterfaces::PresentationOrchestratorStateObserverInterface > observer))
 
 MOCK_METHOD1 (removeStateObserver, void(std::weak_ptr< presentationOrchestratorInterfaces::PresentationOrchestratorStateObserverInterface > obserevr))
 
- Public Member Functions inherited from alexaClientSDK::presentationOrchestratorInterfaces::PresentationOrchestratorStateTrackerInterface
virtual ~PresentationOrchestratorStateTrackerInterface ()=default
 
virtual void acquireWindow (const std::string &clientId, const std::string &windowId, PresentationMetadata metadata)=0
 
virtual void updatePresentationMetadata (const std::string &clientId, const std::string &windowId, PresentationMetadata metadata)=0
 
virtual void releaseWindow (const std::string &clientId, const std::string &windowId)=0
 
virtual std::string getFocusedInterface ()=0
 
virtual std::string getFocusedWindowId ()=0
 
virtual void setWindows (const std::vector< PresentationOrchestratorWindowInstance > &windows)=0
 
virtual bool addWindow (const PresentationOrchestratorWindowInstance &window)=0
 
virtual void removeWindow (const std::string &windowId)=0
 
virtual void updateWindow (const PresentationOrchestratorWindowInstance &window)=0
 
virtual std::vector< PresentationOrchestratorWindowInfogetWindowInformation ()=0
 
virtual void addWindowObserver (std::weak_ptr< PresentationOrchestratorWindowObserverInterface > observer)=0
 
virtual void removeWindowObserver (std::weak_ptr< PresentationOrchestratorWindowObserverInterface > observer)=0
 
virtual void addStateObserver (std::weak_ptr< PresentationOrchestratorStateObserverInterface > observer)=0
 
virtual void removeStateObserver (std::weak_ptr< PresentationOrchestratorStateObserverInterface > observer)=0
 
virtual void setDeviceInterface (std::string interfaceName)=0
 
virtual void releaseDeviceInterface ()=0
 

Detailed Description

Mock class that implements PresentationOrchestratorStateTrackerInterface

Member Function Documentation

◆ MOCK_METHOD0() [1/4]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD0 ( releaseDeviceInterface  ,
void()   
)

◆ MOCK_METHOD0() [2/4]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD0 ( getFocusedInterface  ,
std::string()   
)

◆ MOCK_METHOD0() [3/4]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD0 ( getFocusedWindowId  ,
std::string()   
)

◆ MOCK_METHOD0() [4/4]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD0 ( getWindowInformation  ,
std::vector< presentationOrchestratorInterfaces::PresentationOrchestratorWindowInfo () 
)

◆ MOCK_METHOD1() [1/9]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD1 ( setDeviceInterface  ,
void(std::string interface)   
)

◆ MOCK_METHOD1() [2/9]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD1 ( setWindows  ,
void(const std::vector< presentationOrchestratorInterfaces::PresentationOrchestratorWindowInstance > &windows)   
)

◆ MOCK_METHOD1() [3/9]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD1 ( addWindow  ,
bool(const presentationOrchestratorInterfaces::PresentationOrchestratorWindowInstance &window)   
)

◆ MOCK_METHOD1() [4/9]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD1 ( removeWindow  ,
void(const std::string &windowId)   
)

◆ MOCK_METHOD1() [5/9]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD1 ( updateWindow  ,
void(const presentationOrchestratorInterfaces::PresentationOrchestratorWindowInstance &window)   
)

◆ MOCK_METHOD1() [6/9]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD1 ( addWindowObserver  ,
void(std::weak_ptr< presentationOrchestratorInterfaces::PresentationOrchestratorWindowObserverInterface > observer)   
)

◆ MOCK_METHOD1() [7/9]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD1 ( removeWindowObserver  ,
void(std::weak_ptr< presentationOrchestratorInterfaces::PresentationOrchestratorWindowObserverInterface > observer)   
)

◆ MOCK_METHOD1() [8/9]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD1 ( addStateObserver  ,
void(std::weak_ptr< presentationOrchestratorInterfaces::PresentationOrchestratorStateObserverInterface > observer)   
)

◆ MOCK_METHOD1() [9/9]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD1 ( removeStateObserver  ,
void(std::weak_ptr< presentationOrchestratorInterfaces::PresentationOrchestratorStateObserverInterface > obserevr)   
)

◆ MOCK_METHOD2()

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD2 ( releaseWindow  ,
void(const std::string &clientId, const std::string &windowId)   
)

◆ MOCK_METHOD3() [1/2]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD3 ( acquireWindow  ,
void(const std::string &clientId, const std::string &windowId, presentationOrchestratorInterfaces::PresentationMetadata metadata)   
)

◆ MOCK_METHOD3() [2/2]

alexaClientSDK::presentationOrchestratorInterfaces::test::MockPresentationOrchestratorStateTracker::MOCK_METHOD3 ( updatePresentationMetadata  ,
void(const std::string &clientId, const std::string &windowId, presentationOrchestratorInterfaces::PresentationMetadata metadata)   
)

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