class object

Defined at line 96 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

Provides type-safe access to operations on a handle.

Inherits from object_base

Records

Functions

object<T>

public void object<T>()

Defined at line 100 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

object<T>

public void object<T>(zx_handle_t value)

Defined at line 102 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

object<T>

public void object<T>(object<U> && other)

Defined at line 105 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

operator=

public object<T> & operator=(object<U> && other)

Defined at line 110 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

swap

public void swap(object<T> & other)

Defined at line 116 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

duplicate

public zx_status_t duplicate(zx_rights_t rights, object<T> * result)

Defined at line 122 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

replace

public zx_status_t replace(zx_rights_t rights, object<T> * result)

Defined at line 130 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

wait_one

public zx_status_t wait_one(zx_signals_t signals, basic_time deadline, zx_signals_t * pending)

Defined at line 140 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

wait_async

public zx_status_t wait_async(const object<port> & port, uint64_t key, zx_signals_t signals, uint32_t options)

Defined at line 146 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

wait_many

public zx_status_t wait_many(zx_wait_item_t * wait_items, uint32_t count, basic_time deadline)

Defined at line 152 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

signal

public zx_status_t signal(uint32_t clear_mask, uint32_t set_mask)

Defined at line 158 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

signal_peer

public zx_status_t signal_peer(uint32_t clear_mask, uint32_t set_mask)

Defined at line 163 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

get_child

public zx_status_t get_child(uint64_t koid, zx_rights_t rights, object<void> * result)

Defined at line 169 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

set_profile

public zx_status_t set_profile(const object<profile> & profile, uint32_t options)

Defined at line 180 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

borrow

public unowned<T> borrow()

Defined at line 188 of file ../../zircon/system/ulib/zx/include/lib/zx/object.h

Returns a type-safe wrapper of the underlying handle that does not claim ownership.