16 #ifndef SHARED_ACSDKSTARTUPMANAGERINTERFACES_TEST_ACSDKSTARTUPMANAGERINTERFACES_MOCKSTARTUPNOTIFIER_H_ 17 #define SHARED_ACSDKSTARTUPMANAGERINTERFACES_TEST_ACSDKSTARTUPMANAGERINTERFACES_MOCKSTARTUPNOTIFIER_H_ 24 namespace acsdkStartupManagerInterfaces {
32 void(
const std::shared_ptr<acsdkStartupManagerInterfaces::RequiresStartupInterface>& observer));
35 void(
const std::shared_ptr<acsdkStartupManagerInterfaces::RequiresStartupInterface>& observer));
38 void(
const std::weak_ptr<acsdkStartupManagerInterfaces::RequiresStartupInterface>& observer));
41 void(
const std::weak_ptr<acsdkStartupManagerInterfaces::RequiresStartupInterface>& observer));
44 void(std::function<
void(
const std::shared_ptr<acsdkStartupManagerInterfaces::RequiresStartupInterface>&)>));
47 bool(std::function<
void(
const std::shared_ptr<acsdkStartupManagerInterfaces::RequiresStartupInterface>&)>));
50 void(std::function<
void(
const std::shared_ptr<acsdkStartupManagerInterfaces::RequiresStartupInterface>&)>));
57 #endif // SHARED_ACSDKSTARTUPMANAGERINTERFACES_TEST_ACSDKSTARTUPMANAGERINTERFACES_MOCKSTARTUPNOTIFIER_H_ virtual void setAddObserverFunction(std::function< void(const std::shared_ptr< ObserverType > &)> 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< ObserverType > &)> notify)=0
Notify the observers in the order that they were added.
virtual bool notifyObserversInReverse(std::function< void(const std::shared_ptr< ObserverType > &)> notify)=0
Notify the observers in the reverse order that they were added.
MOCK_METHOD1(addObserver, void(const std::shared_ptr< acsdkStartupManagerInterfaces::RequiresStartupInterface > &observer))
Mock class for StartupNotifierInterface.
Definition: MockStartupNotifier.h:28
virtual void removeObserver(const std::shared_ptr< ObserverType > &observer)=0
Remove an observer.
virtual void addObserver(const std::shared_ptr< ObserverType > &observer)=0
Add an observer.
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual void addWeakPtrObserver(const std::weak_ptr< ObserverType > &observer)=0
Add a weak reference to an observer.
Generic observer operations interface.
Definition: NotifierInterface.h:33
virtual void removeWeakPtrObserver(const std::weak_ptr< ObserverType > &observer)=0
Remove an observer.