template <>

class WireTableBuilder

Defined at line 504 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h

Public Methods

template <typename First = uint64_t, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<uint64_t>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_hardware_hrtimer::wire::TimerProperties> & id (First && first, Args &&... args_)

Unique identifier for this timer.

The `id` is stable for a given timer, i.e. it does not change across different clients

or different connections from the same client.

Required.

Defined at line 521 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h

template <typename First = ::fidl::VectorView<::fuchsia_hardware_hrtimer::wire::Resolution>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<::fuchsia_hardware_hrtimer::wire::Resolution>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_hardware_hrtimer::wire::TimerProperties> & supported_resolutions (First && first, Args &&... args_)

Retrieves the resolutions supported by this timer.

Required.

Defined at line 535 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h

template <typename First = uint64_t, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<uint64_t>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_hardware_hrtimer::wire::TimerProperties> & max_ticks (First && first, Args &&... args_)

Range in ticks.

This is the maximum amount of time that can be set in terms of ticks when a timer is

started. The maximum range in actual time (e.g. nanoseconds) depends on the resolution used.

NOTE: The value reported here does not need to be identical to what

the hardware actually supports. The driver MAY provide the support for

the reported `max_ticks` that is greater than the largest value of ticks

that can be put into the device's hardware register. The driver supports

a greater value of `max_ticks` by re-programming the hardware counter multiple times

with its maximum supported interval, with an interrupt generated after

each re-programming. If you want as few re-programmings (and interrupts)

to happen as possible, as may be the case when using the hrtimer in a power-aware

context, select the coarsest available resolution from [supported_resolutions].

This will ensure the longest possible wall-clock time passes without a re-program.

Required.

Defined at line 563 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h

Friends

template <>
class TimerProperties