AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
List of all members
alexaClientSDK::acsdkKWDImplementations::test::MockKeywordNotifier Class Reference

A test KeywordNotifier. More...

Inheritance diagram for alexaClientSDK::acsdkKWDImplementations::test::MockKeywordNotifier:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkKWDImplementations::test::MockKeywordNotifier:
Collaboration graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from alexaClientSDK::notifierInterfaces::test::MockNotifier< avsCommon::sdkInterfaces::KeyWordObserverInterface >
 MOCK_METHOD1_T (addObserver, void(const std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &observer))
 
 MOCK_METHOD1_T (removeObserver, void(const std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &observer))
 
 MOCK_METHOD1_T (addWeakPtrObserver, void(const std::weak_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &observer))
 
 MOCK_METHOD1_T (removeWeakPtrObserver, void(const std::weak_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &observer))
 
 MOCK_METHOD1_T (notifyObservers, void(std::function< void(const std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &)>))
 
 MOCK_METHOD1_T (notifyObserversInReverse, bool(std::function< void(const std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &)>))
 
 MOCK_METHOD1_T (setAddObserverFunction, void(std::function< void(const std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &)>))
 
- Public Member Functions inherited from alexaClientSDK::notifierInterfaces::NotifierInterface< avsCommon::sdkInterfaces::KeyWordObserverInterface >
virtual ~NotifierInterface ()=default
 
virtual void addObserver (const std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &observer)=0
 Add an observer. More...
 
virtual void removeObserver (const std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &observer)=0
 Remove an observer. More...
 
virtual void addWeakPtrObserver (const std::weak_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &observer)=0
 Add a weak reference to an observer. More...
 
virtual void removeWeakPtrObserver (const std::weak_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &observer)=0
 Remove an observer. More...
 
virtual void notifyObservers (std::function< void(const std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &)> notify)=0
 Notify the observers in the order that they were added. More...
 
virtual bool notifyObserversInReverse (std::function< void(const std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &)> notify)=0
 Notify the observers in the reverse order that they were added. More...
 
virtual void setAddObserverFunction (std::function< void(const std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > &)> postAddFunc)=0
 Set a function for notifications on an observer additions. More...
 

Detailed Description

A test KeywordNotifier.


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