AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Class used to track whether RequiresShutdown
objects have been shut down correctly.
More...
Public Member Functions | |
void | add (const RequiresShutdown *object) |
void | remove (const RequiresShutdown *object) |
ShutdownMonitor () | |
Constructor. More... | |
~ShutdownMonitor () | |
Destructor. More... | |
Class used to track whether RequiresShutdown
objects have been shut down correctly.
alexaClientSDK::avsCommon::utils::ShutdownMonitor::ShutdownMonitor | ( | ) |
Constructor.
alexaClientSDK::avsCommon::utils::ShutdownMonitor::~ShutdownMonitor | ( | ) |
Destructor.
void alexaClientSDK::avsCommon::utils::ShutdownMonitor::add | ( | const RequiresShutdown * | object | ) |
Adds a RequiresShutdown
object to the set of objects being tracked. This must be called at construction of a RequiresShutdown
object.
object | A pointer to the object to track. |
void alexaClientSDK::avsCommon::utils::ShutdownMonitor::remove | ( | const RequiresShutdown * | object | ) |
Removes a RequiresShutdown
object from the set of objects being tracked. This must be called at destruction of a RequiresShutdown
object.
object | A pointer to the object to track. |
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0