class DeviceGetSampleResult
Defined at line 187 of file fidling/gen/sdk/fidl/fuchsia.hardware.adc/fuchsia.hardware.adc/cpp/fidl/fuchsia.hardware.adc/cpp/natural_types.h
Public Methods
void DeviceGetSampleResult (DeviceGetSampleResult && other)
DeviceGetSampleResult & operator= (DeviceGetSampleResult && other)
void DeviceGetSampleResult (const DeviceGetSampleResult & other)
DeviceGetSampleResult & operator= (const DeviceGetSampleResult & other)
bool operator== (const DeviceGetSampleResult & other)
bool operator!= (const DeviceGetSampleResult & other)
::fuchsia_hardware_adc::DeviceGetSampleResult::Tag Which ()
DeviceGetSampleResult WithResponse (::fuchsia_hardware_adc::DeviceGetSampleResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
DeviceGetSampleResult & response (::fuchsia_hardware_adc::DeviceGetSampleResponse value)
Sets the union to hold the response member.
DeviceGetSampleResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
DeviceGetSampleResult & err (int32_t value)
Sets the union to hold the err member.
void DeviceGetSampleResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kResponse | 1 |
| kErr | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 195 of file fidling/gen/sdk/fidl/fuchsia.hardware.adc/fuchsia.hardware.adc/cpp/fidl/fuchsia.hardware.adc/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits