Flutter Engine
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)

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

Definition at line 24 of file task_queue_id.h.

References kUnmerged.

24 { return value_; }

Member Data Documentation

◆ kUnmerged

const size_t fml::TaskQueueId::kUnmerged = ULONG_MAX

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

Definition at line 19 of file task_queue_id.h.

Referenced by operator size_t().

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