class TripPointValue

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

A union that defines all the possible types of trip points.

Public Methods

void TripPointValue (TripPointValue && other)
TripPointValue & operator= (TripPointValue && other)
void TripPointValue (const TripPointValue & other)
TripPointValue & operator= (const TripPointValue & other)
bool operator== (const TripPointValue & other)
bool operator!= (const TripPointValue & other)
bool IsUnknown ()
::fuchsia_hardware_trippoint::TripPointValue::Tag Which ()
TripPointValue WithClearedTripPoint (::fuchsia_hardware_trippoint::ClearedTripPoint val)
const ::fidl::internal::UnionMemberView<1, Storage_> cleared_trip_point ()
::fidl::internal::UnionMemberView<1, Storage_> cleared_trip_point ()
TripPointValue & cleared_trip_point (::fuchsia_hardware_trippoint::ClearedTripPoint value)

This is a special reserved type of trip point that can be used by

clients to clear previously configured trip point.

TripPointValue WithOneshotTempAboveTripPoint (::fuchsia_hardware_trippoint::OneshotTempAboveTripPoint val)
const ::fidl::internal::UnionMemberView<2, Storage_> oneshot_temp_above_trip_point ()
::fidl::internal::UnionMemberView<2, Storage_> oneshot_temp_above_trip_point ()
TripPointValue & oneshot_temp_above_trip_point (::fuchsia_hardware_trippoint::OneshotTempAboveTripPoint value)

Sets the union to hold the oneshot_temp_above_trip_point member.

TripPointValue WithOneshotTempBelowTripPoint (::fuchsia_hardware_trippoint::OneshotTempBelowTripPoint val)
const ::fidl::internal::UnionMemberView<3, Storage_> oneshot_temp_below_trip_point ()
::fidl::internal::UnionMemberView<3, Storage_> oneshot_temp_below_trip_point ()
TripPointValue & oneshot_temp_below_trip_point (::fuchsia_hardware_trippoint::OneshotTempBelowTripPoint value)

Sets the union to hold the oneshot_temp_below_trip_point member.

void TripPointValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kClearedTripPoint 1
kOneshotTempAboveTripPoint 2
kOneshotTempBelowTripPoint 3
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits