class TimerProperties
Defined at line 163 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h
Properties for a specific timer abstracted by the driver.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_hardware_hrtimer::wire::TimerProperties> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_hardware_hrtimer::wire::TimerProperties> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_hrtimer::wire::TimerProperties>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void TimerProperties ()
Defined at line 165 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h
void TimerProperties (const TimerProperties & other)
Defined at line 166 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h
TimerProperties & operator= (const TimerProperties & other)
Defined at line 167 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h
void TimerProperties (TimerProperties && other)
Defined at line 168 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h
uint64_t & id ()
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.
bool has_id ()
TimerProperties & operator= (TimerProperties && other)
Defined at line 169 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h
::fidl::VectorView< ::fuchsia_hardware_hrtimer::wire::Resolution> & supported_resolutions ()
Retrieves the resolutions supported by this timer.
Required.
bool has_supported_resolutions ()
uint64_t & max_ticks ()
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.
bool has_max_ticks ()
bool & supports_event ()
If true then the `SetEvent` method is supported, if false or not present it is not
supported.
Optional.
bool has_supports_event ()
bool & supports_wait ()
If true then the `StartAndWait` and `StartAndWait2` methods are supported, if false or
not present these methods are not supported.
Optional.
bool has_supports_wait ()
bool & supports_read ()
If true, then the `TimerRead` and `ClockRead` methods are supported, if
false or not present, these methods are not supported.
Optional.
bool has_supports_read ()
void ~TimerProperties ()
Defined at line 171 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder