AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <ShutdownNotifier.h>
Static Public Member Functions | |
static std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownNotifierInterface > | createShutdownNotifierInterface () |
Additional Inherited Members | |
Public Member Functions inherited from alexaClientSDK::notifier::Notifier< avsCommon::utils::RequiresShutdown > | |
Notifier () | |
void | addObserver (const std::shared_ptr< avsCommon::utils::RequiresShutdown > &observer) override |
Add an observer. More... | |
void | removeObserver (const std::shared_ptr< avsCommon::utils::RequiresShutdown > &observer) override |
Remove an observer. More... | |
void | addWeakPtrObserver (const std::weak_ptr< avsCommon::utils::RequiresShutdown > &observer) override |
Add a weak reference to an observer. More... | |
void | removeWeakPtrObserver (const std::weak_ptr< avsCommon::utils::RequiresShutdown > &observer) override |
Remove an observer. More... | |
void | notifyObservers (std::function< void(const std::shared_ptr< avsCommon::utils::RequiresShutdown > &)> notify) override |
Notify the observers in the order that they were added. More... | |
bool | notifyObserversInReverse (std::function< void(const std::shared_ptr< avsCommon::utils::RequiresShutdown > &)> notify) override |
Notify the observers in the reverse order that they were added. More... | |
void | setAddObserverFunction (std::function< void(const std::shared_ptr< avsCommon::utils::RequiresShutdown > &)> addObserverFunc) override |
Set a function for notifications on an observer additions. More... | |
Public Member Functions inherited from alexaClientSDK::notifierInterfaces::NotifierInterface< avsCommon::utils::RequiresShutdown > | |
virtual | ~NotifierInterface ()=default |
Relays notification when it's time to shut down.
|
static |
Factory method.
ShutdownNotifierInterface
. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0