Flutter Engine
The Flutter Engine
|
#include <dart_state.h>
Classes | |
class | Scope |
Public Member Functions | |
DartState (int dirfd=-1, std::function< void(Dart_Handle)> message_epilogue=nullptr) | |
virtual | ~DartState () |
std::weak_ptr< DartState > | GetWeakPtr () |
Dart_Isolate | isolate () |
void | SetIsolate (Dart_Isolate isolate) |
Dart_PersistentHandle | private_constructor_name () |
DartClassLibrary & | class_library () |
DartMessageHandler & | message_handler () |
FileLoader & | file_loader () |
void | MessageEpilogue (Dart_Handle message_result) |
void | SetReturnCode (uint32_t return_code) |
void | SetReturnCodeCallback (std::function< void(uint32_t)> callback) |
bool | has_set_return_code () const |
void | SetIsShuttingDown () |
bool | IsShuttingDown () |
virtual void | DidSetIsolate () |
Static Public Member Functions | |
static DartState * | From (Dart_Isolate isolate) |
static DartState * | Current () |
static Dart_Handle | HandleLibraryTag (Dart_LibraryTag tag, Dart_Handle library, Dart_Handle url) |
Protected Member Functions | |
Dart_Isolate | isolate () const |
TONIC_DISALLOW_COPY_AND_ASSIGN (DartState) | |
Definition at line 28 of file dart_state.h.
|
explicit |
Definition at line 22 of file dart_state.cc.
|
virtual |
Definition at line 33 of file dart_state.cc.
|
inline |
Definition at line 60 of file dart_state.h.
|
static |
Definition at line 56 of file dart_state.cc.
|
virtual |
Definition at line 77 of file dart_state.cc.
|
inline |
Definition at line 62 of file dart_state.h.
|
static |
Definition at line 50 of file dart_state.cc.
std::weak_ptr< DartState > tonic::DartState::GetWeakPtr | ( | ) |
Definition at line 62 of file dart_state.cc.
|
static |
Definition at line 79 of file dart_state.cc.
|
inline |
Definition at line 71 of file dart_state.h.
|
inline |
Definition at line 51 of file dart_state.h.
|
inlineprotected |
Definition at line 83 of file dart_state.h.
|
inline |
Definition at line 74 of file dart_state.h.
|
inline |
Definition at line 61 of file dart_state.h.
|
inline |
Definition at line 64 of file dart_state.h.
|
inline |
Definition at line 56 of file dart_state.h.
void tonic::DartState::SetIsolate | ( | Dart_Isolate | isolate | ) |
Definition at line 35 of file dart_state.cc.
|
inline |
Definition at line 73 of file dart_state.h.
void tonic::DartState::SetReturnCode | ( | uint32_t | return_code | ) |
Definition at line 66 of file dart_state.cc.
void tonic::DartState::SetReturnCodeCallback | ( | std::function< void(uint32_t)> | callback | ) |
Definition at line 73 of file dart_state.cc.
|
protected |