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

Test class which implements RequiresShutdown. More...

Inheritance diagram for alexaClientSDK::avsCommon::utils::test::Object:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsCommon::utils::test::Object:
Collaboration graph
[legend]

Public Member Functions

 Object (const std::string &name)
 
void doShutdown () override
 Dummy shutdown function which doesn't do anything. More...
 
- 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
 

Public Attributes

std::shared_ptr< Objectobject
 A shared_ptr which can be used to create loops. More...
 
bool properShutdown
 A flag indicating whether doShutdown should actually clean up object. More...
 

Additional Inherited Members

Detailed Description

Test class which implements RequiresShutdown.

Constructor & Destructor Documentation

◆ Object()

alexaClientSDK::avsCommon::utils::test::Object::Object ( const std::string &  name)
inline

Constructor.

Parameters
nameof object to log in any messages.

Member Function Documentation

◆ doShutdown()

void alexaClientSDK::avsCommon::utils::test::Object::doShutdown ( )
overridevirtual

Dummy shutdown function which doesn't do anything.

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

Member Data Documentation

◆ object

std::shared_ptr<Object> alexaClientSDK::avsCommon::utils::test::Object::object

A shared_ptr which can be used to create loops.

◆ properShutdown

bool alexaClientSDK::avsCommon::utils::test::Object::properShutdown

A flag indicating whether doShutdown should actually clean up object.


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