AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkManufactory::internal::RuntimeManufactory Class Reference

#include <RuntimeManufactory.h>

Public Member Functions

 RuntimeManufactory (const CookBook &cookBook)
 
template<typename Type >
Type get ()
 

Detailed Description

RuntimeManufactory provides instances of interfaces supported by a CookBook, automatically creating instances of other interfaces that the requested instance depends upon.

Constructor & Destructor Documentation

◆ RuntimeManufactory()

alexaClientSDK::acsdkManufactory::internal::RuntimeManufactory::RuntimeManufactory ( const CookBook cookBook)
inline

Constructor.

Parameters
cookBookThe CookBook that specifies the recipes for the instances to be provided.

Member Function Documentation

◆ get()

template<typename Type >
Type alexaClientSDK::acsdkManufactory::internal::RuntimeManufactory::get ( )
inline

Get an instance of the specified Type.

Template Parameters
TypeThe type of instance to provide.
Returns
The requested instance of the specified Type or nullptr.

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

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