AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkShutdownManager::test::RequiresShutdownHelper Class Reference
Inheritance diagram for alexaClientSDK::acsdkShutdownManager::test::RequiresShutdownHelper:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkShutdownManager::test::RequiresShutdownHelper:
Collaboration graph
[legend]

Public Member Functions

 RequiresShutdownHelper ()
 
void doShutdown () override
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::utils::RequiresShutdown
 RequiresShutdown (const std::string &name)
 
virtual ~RequiresShutdown ()
 Destructor. More...
 
const std::string & name () const
 
void shutdown ()
 
bool isShutdown () const
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ RequiresShutdownHelper()

alexaClientSDK::acsdkShutdownManager::test::RequiresShutdownHelper::RequiresShutdownHelper ( )

Member Function Documentation

◆ doShutdown()

void alexaClientSDK::acsdkShutdownManager::test::RequiresShutdownHelper::doShutdown ( )
overridevirtual

Prepares/enables this object to be deleted. This should be the last function called on this object prior to deleting (or resetting) its shared_ptr.

Warning
  • Attempting to call functions on this object after calling shutdown() can result in undefined behavior.
  • Neglecting to call shutdown() on this object can result in resource leaks or other undefined behavior.

Implements alexaClientSDK::avsCommon::utils::RequiresShutdown.


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