Alexa Auto SDK  4.3
Public Member Functions | Static Public Member Functions | List of all members
aace::core::config::StreamConfiguration Class Reference

Public Member Functions

std::shared_ptr< std::istream > getStream () override
 

Static Public Member Functions

static std::shared_ptr< StreamConfigurationcreate (std::shared_ptr< std::istream > stream)
 

Detailed Description

Configuration class used to provide configuration data from a stream. The contents of the stream should be JSON data with values corresponding to the stream content provided by the other configuration objects.

Member Function Documentation

◆ create()

std::shared_ptr< StreamConfiguration > aace::core::config::StreamConfiguration::create ( std::shared_ptr< std::istream >  stream)
static

Creates a new instance of StreamConfiguration by providing the input stream containing JSON data

Parameters
[in]streamThe input stream

◆ getStream()

std::shared_ptr< std::istream > aace::core::config::StreamConfiguration::getStream ( )
overridevirtual
Returns
A pointer to a std::istream object containing the JSON configuration data

Implements aace::core::config::EngineConfiguration.


Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0