15 #ifndef SHARED_ACSDKSHUTDOWNMANAGERINTERFACES_TEST_ACSDKSHUTDOWNMANAGERINTERFACES_MOCKSHUTDOWNNOTIFIER_H_ 16 #define SHARED_ACSDKSHUTDOWNMANAGERINTERFACES_TEST_ACSDKSHUTDOWNMANAGERINTERFACES_MOCKSHUTDOWNNOTIFIER_H_ 23 namespace acsdkShutdownManagerInterfaces {
41 void(std::function<
void(
const std::shared_ptr<avsCommon::utils::RequiresShutdown>&)>));
45 bool(std::function<
void(
const std::shared_ptr<avsCommon::utils::RequiresShutdown>&)>));
49 void(std::function<
void(
const std::shared_ptr<avsCommon::utils::RequiresShutdown>&)>));
56 #endif // SHARED_ACSDKSHUTDOWNMANAGERINTERFACES_TEST_ACSDKSHUTDOWNMANAGERINTERFACES_MOCKSHUTDOWNNOTIFIER_H_ virtual void setAddObserverFunction(std::function< void(const std::shared_ptr< avsCommon::utils::RequiresShutdown > &)> postAddFunc)=0
Set a function for notifications on an observer additions.
Definition: AmdMetricWrapperTest.cpp:24
virtual void notifyObservers(std::function< void(const std::shared_ptr< avsCommon::utils::RequiresShutdown > &)> notify)=0
Notify the observers in the order that they were added.
virtual bool notifyObserversInReverse(std::function< void(const std::shared_ptr< avsCommon::utils::RequiresShutdown > &)> notify)=0
Notify the observers in the reverse order that they were added.
virtual void removeObserver(const std::shared_ptr< avsCommon::utils::RequiresShutdown > &observer)=0
Remove an observer.
virtual void addObserver(const std::shared_ptr< avsCommon::utils::RequiresShutdown > &observer)=0
Add an observer.
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual void addWeakPtrObserver(const std::weak_ptr< avsCommon::utils::RequiresShutdown > &observer)=0
Add a weak reference to an observer.
Definition: MockShutdownNotifier.h:29
virtual void removeWeakPtrObserver(const std::weak_ptr< avsCommon::utils::RequiresShutdown > &observer)=0
Remove an observer.
MOCK_METHOD1(addObserver, void(const std::shared_ptr< avsCommon::utils::RequiresShutdown > &observer))