Flutter Engine
The Flutter Engine
|
#include <glfw_event_loop.h>
Public Member Functions | |
GLFWEventLoop (std::thread::id main_thread_id, const TaskExpiredCallback &on_task_expired) | |
virtual | ~GLFWEventLoop () |
GLFWEventLoop (const GLFWEventLoop &)=delete | |
GLFWEventLoop & | operator= (const GLFWEventLoop &)=delete |
Public Member Functions inherited from flutter::EventLoop | |
EventLoop (std::thread::id main_thread_id, const TaskExpiredCallback &on_task_expired) | |
virtual | ~EventLoop () |
EventLoop (const EventLoop &)=delete | |
EventLoop & | operator= (const EventLoop &)=delete |
bool | RunsTasksOnCurrentThread () const |
void | WaitForEvents (std::chrono::nanoseconds max_wait=std::chrono::nanoseconds::max()) |
void | PostTask (FlutterTask flutter_task, uint64_t flutter_target_time_nanos) |
Additional Inherited Members | |
Public Types inherited from flutter::EventLoop | |
using | TaskExpiredCallback = std::function< void(const FlutterTask *)> |
Protected Types inherited from flutter::EventLoop | |
using | TaskTimePoint = std::chrono::steady_clock::time_point |
Protected Member Functions inherited from flutter::EventLoop | |
std::mutex & | GetTaskQueueMutex () |
virtual void | WaitUntil (const TaskTimePoint &time)=0 |
virtual void | Wake ()=0 |
Static Protected Member Functions inherited from flutter::EventLoop | |
static TaskTimePoint | TimePointFromFlutterTime (uint64_t flutter_target_time_nanos) |
Protected Attributes inherited from flutter::EventLoop | |
std::thread::id | main_thread_id_ |
TaskExpiredCallback | on_task_expired_ |
std::mutex | task_queue_mutex_ |
std::priority_queue< Task, std::deque< Task >, Task::Comparer > | task_queue_ |
Definition at line 14 of file glfw_event_loop.h.
flutter::GLFWEventLoop::GLFWEventLoop | ( | std::thread::id | main_thread_id, |
const TaskExpiredCallback & | on_task_expired | ||
) |
Definition at line 14 of file glfw_event_loop.cc.
|
virtualdefault |
|
delete |
|
delete |