zx::object

Summary

Inheritance

Inherits from: zx::object_base
Direct Known Subclasses:zx::task< T >

Constructors and Destructors

object()
object(zx_handle_t value)
object(object< U > && other)

Public static attributes

TYPE = ZX_OBJ_TYPE_NONE
constexpr zx_obj_type_t

Public functions

borrow() const
unowned< T >
duplicate(zx_rights_t rights, object< T > *result)
zx_status_t
get_child(uint64_t koid, zx_rights_t rights, object< void > *result)
zx_status_t
operator=(object< U > && other)
object< T > &
replace(zx_rights_t rights, object< T > *result)
zx_status_t
set_profile(const object< profile > & profile, uint32_t options)
zx_status_t
signal(uint32_t clear_mask, uint32_t set_mask)
zx_status_t
signal_peer(uint32_t clear_mask, uint32_t set_mask)
zx_status_t
swap(object< T > & other)
void
wait_async(const object< port > & port, uint64_t key, zx_signals_t signals, uint32_t options)
zx_status_t
wait_one(zx_signals_t signals, zx::time deadline, zx_signals_t *pending)
zx_status_t

Public static functions

wait_many(zx_wait_item_t *wait_items, uint32_t count, zx::time deadline)
zx_status_t

Public static attributes

TYPE

constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_NONE

Public functions

borrow

unowned< T > borrow() const 

duplicate

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

get_child

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

object

constexpr object()=default

object

 object(
  zx_handle_t value
)

object

 object(
  object< U > && other
)

operator=

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

replace

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

set_profile

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

signal

zx_status_t signal(
  uint32_t clear_mask,
  uint32_t set_mask
)

signal_peer

zx_status_t signal_peer(
  uint32_t clear_mask,
  uint32_t set_mask
)

swap

void swap(
  object< T > & other
)

wait_async

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

wait_one

zx_status_t wait_one(
  zx_signals_t signals,
  zx::time deadline,
  zx_signals_t *pending
)

Public static functions

wait_many

zx_status_t wait_many(
  zx_wait_item_t *wait_items,
  uint32_t count,
  zx::time deadline
)