AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <Component.h>
Public Member Functions | |
template<typename... ComponentAccumulatorParameters> | |
Component (ComponentAccumulator< ComponentAccumulatorParameters... > &&componentAccumulator) | |
The Component
class encapsulates code that exports (i.e. provides an implementation) of one or more interfaces and which imports (depends upon) zero or more interfaces.
Parameters | The set of interfaces exported and imported by this Component (imported types are tagged by wrapping them in Import<Type>) |
|
inline |
Construct a Component
from a ComponentAccumulator.
Note that the implementation of this constructor performs compile time validation that:
ComponentAccumulatorParameters
are declared as Import<Type> in Parameters
.ComponentAccumulatorParameters
.ComponentAccumulatorParameters | The interfaces potentially exported by the new Component as well as any interfaces required by the new component (tagged via Import<Type>). |
componentAccumulator | The ComponentAccumulator providing the specification of the new Component . |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0