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
shell
platform
fuchsia
flutter
isolate_configurator.h
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
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_ISOLATE_CONFIGURATOR_H_
6
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_ISOLATE_CONFIGURATOR_H_
7
8
#include <lib/zx/channel.h>
9
#include <lib/zx/eventpair.h>
10
#include "flutter/fml/macros.h"
11
#include "
unique_fdio_ns.h
"
12
13
namespace
flutter_runner
{
14
15
// Contains all the information necessary to configure a new root isolate. This
16
// is a single use item. The lifetime of this object must extend past that of
17
// the root isolate.
18
class
IsolateConfigurator
final {
19
public
:
20
IsolateConfigurator
(
UniqueFDIONS
fdio_ns,
21
zx::channel directory_request,
22
zx::eventpair view_ref);
23
24
~IsolateConfigurator
();
25
26
// Can be used only once and only on the UI thread with the newly created
27
// isolate already current.
28
bool
ConfigureCurrentIsolate
();
29
30
private
:
31
bool
used_ =
false
;
32
UniqueFDIONS
fdio_ns_;
33
zx::channel directory_request_;
34
zx::eventpair view_ref_;
35
36
void
BindFuchsia();
37
38
void
BindZircon();
39
40
void
BindDartIO();
41
42
FML_DISALLOW_COPY_AND_ASSIGN(
IsolateConfigurator
);
43
};
44
45
}
// namespace flutter_runner
46
47
#endif
// FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_ISOLATE_CONFIGURATOR_H_
flutter_runner::IsolateConfigurator
Definition:
isolate_configurator.h:18
flutter_runner::IsolateConfigurator::IsolateConfigurator
IsolateConfigurator(UniqueFDIONS fdio_ns, zx::channel directory_request, zx::eventpair view_ref)
Definition:
isolate_configurator.cc:16
flutter_runner::IsolateConfigurator::~IsolateConfigurator
~IsolateConfigurator()
flutter_runner::IsolateConfigurator::ConfigureCurrentIsolate
bool ConfigureCurrentIsolate()
Definition:
isolate_configurator.cc:25
fml::UniqueObject< fdio_ns_t *, UniqueFDIONSTraits >
flutter_runner
Definition:
accessibility_bridge.cc:20
unique_fdio_ns.h
Generated on Sun Jun 23 2024 21:55:15 for Flutter Engine by
1.9.4