AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <ShutdownManager.h>
Public Member Functions | |
ShutdownManagerInterface methods. | |
bool | shutdown () override |
Public Member Functions inherited from alexaClientSDK::acsdkShutdownManagerInterfaces::ShutdownManagerInterface | |
virtual | ~ShutdownManagerInterface ()=default |
Static Public Member Functions | |
static std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownManagerInterface > | createShutdownManagerInterface (const std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownNotifierInterface > ¬ifier) |
Implementation of ShutdownManagerInterface.
When shutdown()
is called, observers that have added themselves via ShutdownNotifierInterface will have their shutdown()
method called.
|
static |
Create a new instance of ShutdownManagerInterface.
notifier | The notifier to use to invoke RequiresShutdown::shutdown(). |
|
overridevirtual |
Invoke shutdown() on all instances registered with the ShutdownNotifierInterface
instance associated with this instance.
Implements alexaClientSDK::acsdkShutdownManagerInterfaces::ShutdownManagerInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0