Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Attributes | List of all members
fml::TaskQueueId Class Reference

#include <task_queue_id.h>

Public Member Functions

 TaskQueueId (size_t value)
 Intializes a task queue with the given value as it's ID. More...
 
 operator size_t () const
 

Static Public Attributes

static const size_t kUnmerged = ULONG_MAX
 

Detailed Description

MessageLoopTaskQueues task dispatcher's internal task queue identifier.

Definition at line 15 of file task_queue_id.h.

Constructor & Destructor Documentation

◆ TaskQueueId()

fml::TaskQueueId::TaskQueueId ( size_t  value)
inlineexplicit

Intializes a task queue with the given value as it's ID.

Definition at line 22 of file task_queue_id.h.

22: value_(value) {}
uint8_t value

Member Function Documentation

◆ operator size_t()

fml::TaskQueueId::operator size_t ( ) const
inline

Definition at line 24 of file task_queue_id.h.

24 { // NOLINT(google-explicit-constructor)
25 return value_;
26 }

Member Data Documentation

◆ kUnmerged

const size_t fml::TaskQueueId::kUnmerged = ULONG_MAX
static

This constant indicates whether a task queue has been subsumed by a task runner.

Definition at line 19 of file task_queue_id.h.


The documentation for this class was generated from the following files: