#include <task_runner_window.h>
Definition at line 20 of file task_runner_window.h.
◆ ~TaskRunnerWindow()
flutter::TaskRunnerWindow::~TaskRunnerWindow |
( |
| ) |
|
Definition at line 35 of file task_runner_window.cc.
37 DestroyWindow(window_handle_);
38 window_handle_ =
nullptr;
40 UnregisterClass(window_class_name_.c_str(),
nullptr);
◆ AddDelegate()
void flutter::TaskRunnerWindow::AddDelegate |
( |
Delegate * |
delegate | ) |
|
Definition at line 60 of file task_runner_window.cc.
61 delegates_.push_back(delegate);
62 SetTimer(std::chrono::nanoseconds::zero());
◆ GetSharedInstance()
std::shared_ptr< TaskRunnerWindow > flutter::TaskRunnerWindow::GetSharedInstance |
( |
| ) |
|
|
static |
◆ RemoveDelegate()
void flutter::TaskRunnerWindow::RemoveDelegate |
( |
Delegate * |
delegate | ) |
|
Definition at line 65 of file task_runner_window.cc.
66 auto i = std::find(delegates_.begin(), delegates_.end(), delegate);
67 if (i != delegates_.end()) {
◆ WakeUp()
void flutter::TaskRunnerWindow::WakeUp |
( |
| ) |
|
Definition at line 54 of file task_runner_window.cc.
55 if (!PostMessage(window_handle_, WM_NULL, 0, 0)) {
56 FML_LOG(ERROR) <<
"Failed to post message to main thread.";
The documentation for this class was generated from the following files: