class SensorServer

Defined at line 177 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/cpp/fidl/fuchsia.thermal/cpp/natural_types.h

The server end for a thermal sensor connection.

Public Methods

void SensorServer (SensorServer && other)
SensorServer & operator= (SensorServer && other)
bool IsUnknown ()
::fuchsia_thermal::SensorServer::Tag Which ()
SensorServer WithTemperature (::fidl::ServerEnd< ::fuchsia_hardware_temperature::Device> val)
const ::fidl::internal::UnionMemberView<1, Storage_> temperature ()
::fidl::internal::UnionMemberView<1, Storage_> temperature ()
SensorServer & temperature (::fidl::ServerEnd< ::fuchsia_hardware_temperature::Device> value)

Connects to the sensor's `fuchsia.hardware.temperature.Device` protocol.

SensorServer WithTrippoint (::fidl::ServerEnd< ::fuchsia_hardware_trippoint::TripPoint> val)
const ::fidl::internal::UnionMemberView<2, Storage_> trippoint ()
::fidl::internal::UnionMemberView<2, Storage_> trippoint ()
SensorServer & trippoint (::fidl::ServerEnd< ::fuchsia_hardware_trippoint::TripPoint> value)

Connects to the sensor's `fuchsia.hardware.trippoint.TripPoint` protocol.

Trip point configuration (`SetTripPoints`, `GetTripPointDescriptors`, and

`WaitForAnyTripPoint`) is shared across all clients connected to the same sensor.

void SensorServer (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kTemperature 1

0x1

kTrippoint 2

0x2

_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 185 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/cpp/fidl/fuchsia.thermal/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits