AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <FactorySequencer.h>
Static Public Member Functions | |
template<typename... ParameterTypes> | |
static std::function< ResultType(ParameterTypes..., PrecursorTypes...)> | get (ResultType(*factory)(ParameterTypes...)) |
Template to provide a sequenced factory function to invoke a factory function after the PrecursorTypes have been instantiated first.
In other words, this class can be used to sequence calls to factory methods in the manufactory. The PrecursorTypes
are guaranteed to be instantiated by the manufactory before the ResultType
, which will be created using the provided factory method and the ParameterTypes
.
ResultType | The type being constructed. |
PrecursorTypes | The types that are required to have been constructed before the ResultType is constructed. |
|
inlinestatic |
Get the factory sequencer wrapping the ResultType's factory.
ParameterTypes | The parameters for the ResultType's factory. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0