Flutter Engine
The Flutter Engine
|
The collection of all the threads used by the engine. More...
#include <thread_host.h>
Classes | |
struct | ThreadHostConfig |
Public Types | |
enum | Type { kPlatform = 1 << 0 , kUi = 1 << 1 , kRaster = 1 << 2 , kIo = 1 << 3 , kProfiler = 1 << 4 } |
Public Member Functions | |
ThreadHost () | |
ThreadHost (ThreadHost &&) | |
ThreadHost & | operator= (ThreadHost &&)=default |
ThreadHost (const std::string &name_prefix, uint64_t mask) | |
ThreadHost (const ThreadHostConfig &host_config) | |
~ThreadHost () | |
Public Attributes | |
std::string | name_prefix |
std::unique_ptr< fml::Thread > | platform_thread |
std::unique_ptr< fml::Thread > | ui_thread |
std::unique_ptr< fml::Thread > | raster_thread |
std::unique_ptr< fml::Thread > | io_thread |
std::unique_ptr< fml::Thread > | profiler_thread |
The collection of all the threads used by the engine.
Definition at line 21 of file thread_host.h.
|
default |
|
default |
flutter::ThreadHost::ThreadHost | ( | const std::string & | name_prefix, |
uint64_t | mask | ||
) |
Definition at line 76 of file thread_host.cc.
|
explicit |
Definition at line 79 of file thread_host.cc.
|
default |
|
default |
std::unique_ptr<fml::Thread> flutter::ThreadHost::io_thread |
Definition at line 86 of file thread_host.h.
std::string flutter::ThreadHost::name_prefix |
Definition at line 82 of file thread_host.h.
std::unique_ptr<fml::Thread> flutter::ThreadHost::platform_thread |
Definition at line 83 of file thread_host.h.
std::unique_ptr<fml::Thread> flutter::ThreadHost::profiler_thread |
Definition at line 87 of file thread_host.h.
std::unique_ptr<fml::Thread> flutter::ThreadHost::raster_thread |
Definition at line 85 of file thread_host.h.
std::unique_ptr<fml::Thread> flutter::ThreadHost::ui_thread |
Definition at line 84 of file thread_host.h.