class Transition

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

The length of time it takes to move to a power level.

+ `target_level` is the power level we're moving to.

+ `latency_us` is the time it takes to move to the level in microseconds.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_hardware_power::wire::Transition> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_power::wire::Transition> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power::wire::Transition>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Transition ()

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

void Transition (const Transition & other)

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

Transition & operator= (const Transition & other)

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

void Transition (Transition && other)

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

Transition & operator= (Transition && other)

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

uint8_t & target_level ()
bool has_target_level ()
uint32_t & latency_us ()
bool has_latency_us ()
Transition & set_target_level (uint8_t elem)
Transition & clear_target_level ()
Transition & set_latency_us (uint32_t elem)
Transition & clear_latency_us ()
void Transition (::fidl::AnyArena & allocator)
void Transition (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power::wire::Transition>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power::wire::Transition>> && frame_ptr)
void ~Transition ()

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder