zx::object_base

Summary

Inheritance

Direct Known Subclasses:zx::object< bti >, zx::object< channel >, zx::object< clock >, zx::object< debuglog >, zx::object< event >, zx::object< eventpair >, zx::object< exception >, zx::object< fifo >, zx::object< guest >, zx::object< interrupt >, zx::object< iob >, zx::object< iommu >, zx::object< job >, zx::object< msi >, zx::object< pager >, zx::object< pmt >, zx::object< port >, zx::object< process >, zx::object< profile >, zx::object< resource >, zx::object< socket >, zx::object< stream >, zx::object< suspend_token >, zx::object< thread >, zx::object< timer >, zx::object< vcpu >, zx::object< vmar >, zx::object< vmo >, zx::object< T >

Protected attributes

value_
zx_handle_t

Public functions

__attribute__((warn_unused_result))
get() const
zx_handle_t
get_info(uint32_t topic, void *buffer, size_t buffer_size, size_t *actual_count, size_t *avail_count)
zx_status_t
get_property(uint32_t property, void *value, size_t size)
zx_status_t
is_valid() const
bool
operator bool() const
reset(zx_handle_t value)
void
reset_and_get_address()
zx_handle_t *
set_property(uint32_t property, const void *value, size_t size)
zx_status_t

Protected functions

close()
void
object_base()
constexpr
object_base(zx_handle_t value)
object_base(const object_base &)=delete
operator=(const object_base &)=delete
void
~object_base()

Protected attributes

value_

zx_handle_t value_

Public functions

__attribute__

 __attribute__(
  (warn_unused_result)
)

get

zx_handle_t get() const 

get_info

zx_status_t get_info(
  uint32_t topic,
  void *buffer,
  size_t buffer_size,
  size_t *actual_count,
  size_t *avail_count
)

get_property

zx_status_t get_property(
  uint32_t property,
  void *value,
  size_t size
)

is_valid

bool is_valid() const 

operator bool

 operator bool() const 

reset

void reset(
  zx_handle_t value
)

reset_and_get_address

zx_handle_t * reset_and_get_address()

set_property

zx_status_t set_property(
  uint32_t property,
  const void *value,
  size_t size
)

Protected functions

close

void close()

object_base

constexpr object_base()

object_base

 object_base(
  zx_handle_t value
)

object_base

 object_base(
  const object_base &
)=delete

operator=

void operator=(
  const object_base &
)=delete

~object_base

 ~object_base()