zx::timer

Summary

Inheritance

Inherits from: zx::object< timer >

Constructors and Destructors

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

Public static attributes

TYPE = ZX_OBJ_TYPE_TIMER
constexpr zx_obj_type_t

Public functions

cancel()
zx_status_t
operator=(timer && other)
timer &
set(zx::time deadline, zx::duration slack)
zx_status_t

Public static functions

create(uint32_t options, zx_clock_t clock_id, timer *result)
zx_status_t

Public static attributes

TYPE

constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_TIMER

Public functions

cancel

zx_status_t cancel()

operator=

timer & operator=(
  timer && other
)

set

zx_status_t set(
  zx::time deadline,
  zx::duration slack
)

timer

constexpr timer()=default

timer

 timer(
  zx_handle_t value
)

timer

 timer(
  handle && h
)

timer

 timer(
  timer && other
)

Public static functions

create

zx_status_t create(
  uint32_t options,
  zx_clock_t clock_id,
  timer *result
)