class TimerProperties

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

Properties for a specific timer abstracted by the driver.

Public Methods

void TimerProperties (Storage_ storage)
void TimerProperties ()

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

void TimerProperties (TimerProperties && )

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

void TimerProperties (const TimerProperties & other)
TimerProperties & operator= (TimerProperties && )

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

TimerProperties & operator= (const TimerProperties & other)
bool operator== (const TimerProperties & other)
bool operator!= (const TimerProperties & other)
bool IsEmpty ()
const std::optional<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.

::std::optional<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.

TimerProperties & id (std::optional<uint64_t> value)

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.

const std::optional< ::std::vector< ::fuchsia_hardware_hrtimer::Resolution>> & supported_resolutions ()

Retrieves the resolutions supported by this timer.

Required.

::std::optional< ::std::vector< ::fuchsia_hardware_hrtimer::Resolution>> & supported_resolutions ()

Retrieves the resolutions supported by this timer.

Required.

TimerProperties & supported_resolutions (std::optional< ::std::vector< ::fuchsia_hardware_hrtimer::Resolution>> value)

Retrieves the resolutions supported by this timer.

Required.

const std::optional<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.

::std::optional<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.

TimerProperties & max_ticks (std::optional<uint64_t> value)

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.

const std::optional<bool> & supports_event ()

If true then the `SetEvent` method is supported, if false or not present it is not

supported.

Optional.

::std::optional<bool> & supports_event ()

If true then the `SetEvent` method is supported, if false or not present it is not

supported.

Optional.

TimerProperties & supports_event (std::optional<bool> value)

If true then the `SetEvent` method is supported, if false or not present it is not

supported.

Optional.

const std::optional<bool> & supports_wait ()

If true then the `StartAndWait` and `StartAndWait2` methods are supported, if false or

not present these methods are not supported.

Optional.

::std::optional<bool> & supports_wait ()

If true then the `StartAndWait` and `StartAndWait2` methods are supported, if false or

not present these methods are not supported.

Optional.

TimerProperties & supports_wait (std::optional<bool> value)

If true then the `StartAndWait` and `StartAndWait2` methods are supported, if false or

not present these methods are not supported.

Optional.

const std::optional<bool> & supports_read ()

If true, then the `TimerRead` and `ClockRead` methods are supported, if

false or not present, these methods are not supported.

Optional.

::std::optional<bool> & supports_read ()

If true, then the `TimerRead` and `ClockRead` methods are supported, if

false or not present, these methods are not supported.

Optional.

TimerProperties & supports_read (std::optional<bool> value)

If true, then the `TimerRead` and `ClockRead` methods are supported, if

false or not present, these methods are not supported.

Optional.

void TimerProperties (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits