zx::clock

Summary

Inheritance

Inherits from: zx::object< clock >

Constructors and Destructors

clock()
clock(zx_handle_t value)
clock(handle && h)
clock(clock && other)

Public static attributes

TYPE = ZX_OBJ_TYPE_CLOCK
constexpr zx_obj_type_t

Public functions

ZX_AVAILABLE_SINCE(7)
get_details(zx_clock_details_v1_t *details_out)
zx_status_t
get_handle() const
zx_handle_t
operator=(clock && other)
clock &
read(zx_time_t *now_out)
zx_status_t
update(const update_args & args)
zx_status_t

Public static functions

create(uint64_t options, const zx_clock_create_args_v1 *args, clock *result)
zx_status_t
get_monotonic()

Classes

zx::clock::update_args

Public static attributes

TYPE

constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_CLOCK

Public functions

ZX_AVAILABLE_SINCE

class zx::clock::update_args ZX_AVAILABLE_SINCE(
  7
)

clock

constexpr clock()=default

clock

 clock(
  zx_handle_t value
)

clock

 clock(
  handle && h
)

clock

 clock(
  clock && other
)

get_details

zx_status_t get_details(
  zx_clock_details_v1_t *details_out
)

get_handle

zx_handle_t get_handle() const 

operator=

clock & operator=(
  clock && other
)

read

zx_status_t read(
  zx_time_t *now_out
)

update

zx_status_t update(
  const update_args & args
)

Public static functions

create

zx_status_t create(
  uint64_t options,
  const zx_clock_create_args_v1 *args,
  clock *result
)

get_monotonic

time get_monotonic()