AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <Manufactory.h>
Public Member Functions | |
template<typename... Subset> | |
std::unique_ptr< Manufactory< Subset... > > | createSubsetManufactory () |
template<typename Type > | |
Type | get () |
Static Public Member Functions | |
template<typename... Parameters> | |
static std::unique_ptr< Manufactory< Exports... > > | create (const Component< Parameters... > &component) |
template<typename... Superset> | |
static std::unique_ptr< Manufactory< Exports... > > | createSubsetManufactory (const std::shared_ptr< Manufactory< Superset... >> &input) |
Manufactory
provides a means of instantiating the interfaces provided by a Component
.
Exports | The interface(s) that this Manufactory may instantiate. |
|
inlinestatic |
Create an Manufactory
based upon the recipes in Component
.
Note that template parameters of Manufactory and Component are used to perform compile time checks that:
Parameters | interfaces provided by Component . |
component | The Component to base the Manufactory upon. |
Component
was invalid.
|
static |
Create an Manufactory
that is a subset of another Manufactory
.
Note that template parameters of the this requested and the input Manufactory's are used to perform a compile time check that all types in Exports... are also in Superset...
Superset | types provided by the input Manufactory . |
input | The Manufactory from which to create a subset Manufactory . |
Manufactory
or nullptr if the Component
was invalid.
|
inline |
Create an Manufactory
that is a subset of another Manufactory
.
Note that template parameters of the this and the requested Manufactorys are used to perform a compile time check that all types in Subset... are also in Exports...
Suubset | types to be provided by the resulting subset Manufactory . |
Component
was invalid.
|
inline |
Get an instance of the specified Type.
Type | The type to get. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0