AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Static Public Member Functions | List of all members
alexaClientSDK::acsdkShutdownManager::ShutdownNotifier Class Reference

#include <ShutdownNotifier.h>

Inheritance diagram for alexaClientSDK::acsdkShutdownManager::ShutdownNotifier:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkShutdownManager::ShutdownNotifier:
Collaboration graph
[legend]

Static Public Member Functions

static std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownNotifierInterfacecreateShutdownNotifierInterface ()
 

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
 

Detailed Description

Relays notification when it's time to shut down.

Member Function Documentation

◆ createShutdownNotifierInterface()

static std::shared_ptr<acsdkShutdownManagerInterfaces::ShutdownNotifierInterface> alexaClientSDK::acsdkShutdownManager::ShutdownNotifier::createShutdownNotifierInterface ( )
static

Factory method.

Returns
A new instance of ShutdownNotifierInterface.

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