#include <handle_disposition.h>
Public Member Functions | |
| zx_handle_op_t | operation () const |
| fml::RefPtr< dart::Handle > | handle () const |
| zx_obj_type_t | type () const |
| zx_rights_t | rights () const |
| zx_status_t | result () const |
| void | set_result (zx_status_t result) |
Public Member Functions inherited from fml::RefCountedThreadSafe< HandleDisposition > | |
| void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| void | AddRef () const |
| bool | HasOneRef () const |
| void | AssertHasOneRef () const |
Public Member Functions inherited from tonic::DartWrappable | |
| DartWrappable () | |
| virtual const DartWrapperInfo & | GetDartWrapperInfo () const =0 |
| Dart_Handle | CreateDartWrapper (DartState *dart_state) |
| void | AssociateWithDartWrapper (Dart_Handle wrappable) |
| void | ClearDartWrapper () |
| Dart_WeakPersistentHandle | dart_wrapper () const |
Static Public Member Functions | |
| static void | RegisterNatives (tonic::DartLibraryNatives *natives) |
| static fml::RefPtr< HandleDisposition > | create (zx_handle_op_t operation, fml::RefPtr< dart::Handle > handle, zx_obj_type_t type, zx_rights_t rights) |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
| enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< HandleDisposition > | |
| 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) |
HandleDisposition is the native peer of a Dart object (HandleDisposition in dart:zircon) that holds a Handle and additional properties.
Definition at line 24 of file handle_disposition.h.
|
static |
Definition at line 23 of file handle_disposition.cc.
References handle(), operation(), rights(), and type().
Referenced by zircon::dart::HandleDisposition_constructor().
|
inline |
|
inline |
Definition at line 38 of file handle_disposition.h.
Referenced by create().
|
static |
Definition at line 52 of file handle_disposition.cc.
References DART_REGISTER_NATIVE, DART_REGISTER_NATIVE_STATIC_, FOR_EACH_BINDING, FOR_EACH_STATIC_BINDING, and zircon::dart::HandleDisposition_constructor().
|
inline |
Definition at line 42 of file handle_disposition.h.
Referenced by set_result().
|
inline |
|
inline |
|
inline |