Flutter Engine
The Flutter Engine
|
#include <handle.h>
Static Public Member Functions | |
static void | RegisterNatives (tonic::DartLibraryNatives *natives) |
static fml::RefPtr< Handle > | Create (zx_handle_t handle) |
static fml::RefPtr< Handle > | Create (zx::handle handle) |
static fml::RefPtr< Handle > | Unwrap (Dart_Handle handle) |
static Dart_Handle | CreateInvalid () |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< Handle > | |
RefCountedThreadSafe () | |
~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
RefCountedThreadSafeBase () | |
~RefCountedThreadSafeBase () | |
bool | Release () const |
void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
Handle is the native peer of a Dart object (Handle in dart:zircon) that holds an zx_handle_t. It tracks active waiters on handle too.
zircon::dart::Handle::~Handle | ( | ) |
fml::RefPtr< HandleWaiter > zircon::dart::Handle::AsyncWait | ( | zx_signals_t | signals, |
Dart_Handle | callback | ||
) |
Definition at line 62 of file handle.cc.
zx_status_t zircon::dart::Handle::Close | ( | ) |
|
inlinestatic |
|
static |
|
static |
Dart_Handle zircon::dart::Handle::Duplicate | ( | uint32_t | rights | ) |
|
inline |
|
inline |
|
inline |
|
static |
Definition at line 132 of file handle.cc.
zx_handle_t zircon::dart::Handle::ReleaseHandle | ( | ) |
Definition at line 36 of file handle.cc.
void zircon::dart::Handle::ReleaseWaiter | ( | HandleWaiter * | waiter | ) |
Definition at line 76 of file handle.cc.
Dart_Handle zircon::dart::Handle::Replace | ( | uint32_t | rights | ) |
Definition at line 97 of file handle.cc.
|
inlinestatic |