class DeviceGetPowerWattsResult

Defined at line 87 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.sensor/fuchsia.hardware.power.sensor/cpp/fidl/fuchsia.hardware.power.sensor/cpp/natural_types.h

Public Methods

void DeviceGetPowerWattsResult (DeviceGetPowerWattsResult && other)
DeviceGetPowerWattsResult & operator= (DeviceGetPowerWattsResult && other)
void DeviceGetPowerWattsResult (const DeviceGetPowerWattsResult & other)
DeviceGetPowerWattsResult & operator= (const DeviceGetPowerWattsResult & other)
bool operator== (const DeviceGetPowerWattsResult & other)
bool operator!= (const DeviceGetPowerWattsResult & other)
::fuchsia_hardware_power_sensor::DeviceGetPowerWattsResult::Tag Which ()
DeviceGetPowerWattsResult WithResponse (::fuchsia_hardware_power_sensor::DeviceGetPowerWattsResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
DeviceGetPowerWattsResult & response (::fuchsia_hardware_power_sensor::DeviceGetPowerWattsResponse value)

Sets the union to hold the response member.

DeviceGetPowerWattsResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
DeviceGetPowerWattsResult & err (int32_t value)

Sets the union to hold the err member.

void DeviceGetPowerWattsResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2

TODO: share union tag types between wire

&

natural.

Defined at line 95 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.sensor/fuchsia.hardware.power.sensor/cpp/fidl/fuchsia.hardware.power.sensor/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits