Flutter Engine
The Flutter Engine
|
#include <message_loop_task_queues.h>
Public Types | |
using | TaskObservers = std::map< intptr_t, fml::closure > |
Public Member Functions | |
TaskQueueEntry (TaskQueueId created_for) | |
Public Attributes | |
Wakeable * | wakeable |
TaskObservers | task_observers |
std::unique_ptr< TaskSource > | task_source |
std::set< TaskQueueId > | owner_of |
TaskQueueId | subsumed_by |
TaskQueueId | created_for |
A collection of tasks and observers associated with one TaskQueue.
Often a TaskQueue has a one-to-one relationship with a fml::MessageLoop, this isn't the case when TaskQueues are merged via fml::MessageLoopTaskQueues::Merge
.
Definition at line 32 of file message_loop_task_queues.h.
using fml::TaskQueueEntry::TaskObservers = std::map<intptr_t, fml::closure> |
Definition at line 34 of file message_loop_task_queues.h.
|
explicit |
Definition at line 37 of file message_loop_task_queues.cc.
TaskQueueId fml::TaskQueueEntry::created_for |
Definition at line 47 of file message_loop_task_queues.h.
std::set<TaskQueueId> fml::TaskQueueEntry::owner_of |
Set of the TaskQueueIds which is owned by this TaskQueue. If the set is empty, this TaskQueue does not own any other TaskQueues.
Definition at line 41 of file message_loop_task_queues.h.
TaskQueueId fml::TaskQueueEntry::subsumed_by |
Identifies the TaskQueue that subsumes this TaskQueue. If it is kUnmerged it indicates that this TaskQueue is not owned by any other TaskQueue.
Definition at line 45 of file message_loop_task_queues.h.
TaskObservers fml::TaskQueueEntry::task_observers |
Definition at line 36 of file message_loop_task_queues.h.
std::unique_ptr<TaskSource> fml::TaskQueueEntry::task_source |
Definition at line 37 of file message_loop_task_queues.h.
Wakeable* fml::TaskQueueEntry::wakeable |
Definition at line 35 of file message_loop_task_queues.h.