Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
common
task_runners.cc
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#include "flutter/common/task_runners.h"
6
7
#include <utility>
8
9
namespace
flutter
{
10
11
TaskRunners::TaskRunners
(std::string label,
12
fml::RefPtr<fml::TaskRunner>
platform,
13
fml::RefPtr<fml::TaskRunner>
raster,
14
fml::RefPtr<fml::TaskRunner>
ui
,
15
fml::RefPtr<fml::TaskRunner>
io)
16
: label_(
std
::move(label)),
17
platform_(
std
::move(platform)),
18
raster_(
std
::move(raster)),
19
ui_(
std
::move(
ui
)),
20
io_(
std
::move(io)) {}
21
22
TaskRunners::TaskRunners
(
const
TaskRunners
& other) =
default
;
23
24
TaskRunners::~TaskRunners
() =
default
;
25
26
const
std::string&
TaskRunners::GetLabel
()
const
{
27
return
label_;
28
}
29
30
fml::RefPtr<fml::TaskRunner>
TaskRunners::GetPlatformTaskRunner
()
const
{
31
return
platform_;
32
}
33
34
fml::RefPtr<fml::TaskRunner>
TaskRunners::GetUITaskRunner
()
const
{
35
return
ui_;
36
}
37
38
fml::RefPtr<fml::TaskRunner>
TaskRunners::GetIOTaskRunner
()
const
{
39
return
io_;
40
}
41
42
fml::RefPtr<fml::TaskRunner>
TaskRunners::GetRasterTaskRunner
()
const
{
43
return
raster_;
44
}
45
46
bool
TaskRunners::IsValid
()
const
{
47
return
platform_ && raster_ && ui_ && io_;
48
}
49
50
}
// namespace flutter
flutter::TaskRunners
Definition:
task_runners.h:15
flutter::TaskRunners::IsValid
bool IsValid() const
Definition:
task_runners.cc:46
flutter::TaskRunners::TaskRunners
TaskRunners(std::string label, fml::RefPtr< fml::TaskRunner > platform, fml::RefPtr< fml::TaskRunner > raster, fml::RefPtr< fml::TaskRunner > ui, fml::RefPtr< fml::TaskRunner > io)
Definition:
task_runners.cc:11
flutter::TaskRunners::GetRasterTaskRunner
fml::RefPtr< fml::TaskRunner > GetRasterTaskRunner() const
Definition:
task_runners.cc:42
flutter::TaskRunners::GetUITaskRunner
fml::RefPtr< fml::TaskRunner > GetUITaskRunner() const
Definition:
task_runners.cc:34
flutter::TaskRunners::GetIOTaskRunner
fml::RefPtr< fml::TaskRunner > GetIOTaskRunner() const
Definition:
task_runners.cc:38
flutter::TaskRunners::GetPlatformTaskRunner
fml::RefPtr< fml::TaskRunner > GetPlatformTaskRunner() const
Definition:
task_runners.cc:30
flutter::TaskRunners::GetLabel
const std::string & GetLabel() const
Definition:
task_runners.cc:26
flutter::TaskRunners::~TaskRunners
~TaskRunners()
fml::RefPtr< fml::TaskRunner >
flutter
Definition:
asset_manager.cc:10
std
Definition:
ref_ptr.h:256
ui
Definition:
window_binding_handler.h:18
Generated on Sun Jun 23 2024 21:54:54 for Flutter Engine by
1.9.4