AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Namespaces | |
test | |
Classes | |
class | ConditionVariableWrapper |
class | Executor |
Single-thread executor implementation. More... | |
class | ExecutorInterface |
Interface for asynchronous execution of functions. More... | |
class | TaskThread |
class | ThreadPool |
class | WorkerThread |
Functions | |
template<typename T > | |
static void | forwardPromise (std::promise< T > &promise, std::future< T > &future) noexcept |
template<> | |
void | forwardPromise< void > (std::promise< void > &promise, std::future< void > &future) noexcept |
std::shared_ptr< ExecutorInterface > | createSingleThreadExecutor () noexcept |
Create a single-thread executor. More... | |
Variables | |
static const size_t | DEFAULT_MAX_THREAD_POOL_THREADS = 20 |
|
noexcept |
Create a single-thread executor.
|
inlinestaticnoexcept |
Utility function which waits for a std::future
to be fulfilled and forward the result to a std::promise
.
promise | The std::promise to fulfill when future is fulfilled. |
future | The std::future on which to wait for a result to forward to promise . |
|
inlinenoexcept |
Specialization of forwardPromise()
for void
types.
promise | The std::promise to fulfill when future is fulfilled. |
future | The std::future on which to wait before fulfilling promise . |
|
static |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0