AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DefaultExecutor.h
1
6#pragma once
7
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/threading/Executor.h>
10
11#include <functional>
12
13namespace Aws {
14namespace Utils {
15namespace Threading {
19class AWS_CORE_API DefaultExecutor : public Executor {
20 // API contract
21 public:
25 DefaultExecutor(DefaultExecutor&& other) = default;
27
29
30 void WaitUntilStopped() override;
31
32 protected:
33 bool SubmitToThread(std::function<void()>&&) override;
34
35 // implementation details
36 public:
37 struct impl;
38
39 private:
40 std::shared_ptr<impl> pImpl;
41};
42} // namespace Threading
43} // namespace Utils
44} // namespace Aws
DefaultExecutor(const DefaultExecutor &other)
bool SubmitToThread(std::function< void()> &&) override
DefaultExecutor & operator=(DefaultExecutor &&)=default
DefaultExecutor & operator=(const DefaultExecutor &)
DefaultExecutor(DefaultExecutor &&other)=default