AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::utils::ShutdownMonitor Class Reference

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...
 

Detailed Description

Class used to track whether RequiresShutdown objects have been shut down correctly.

Constructor & Destructor Documentation

◆ ShutdownMonitor()

alexaClientSDK::avsCommon::utils::ShutdownMonitor::ShutdownMonitor ( )

Constructor.

◆ ~ShutdownMonitor()

alexaClientSDK::avsCommon::utils::ShutdownMonitor::~ShutdownMonitor ( )

Destructor.

Member Function Documentation

◆ add()

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.

Parameters
objectA pointer to the object to track.

◆ remove()

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.

Parameters
objectA pointer to the object to track.

The documentation for this class was generated from the following file:

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0