class SensorServer
Defined at line 304 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
The server end for a thermal sensor connection.
Public Members
static const fidl_type_t * FidlType
Public Methods
void SensorServer ()
bool is_trippoint ()
Defined at line 351 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 386 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 389 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
const std::vector<zx::handle> * UnknownHandles ()
Defined at line 395 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
void ~SensorServer ()
void SensorServer (SensorServer && )
SensorServer & operator= (SensorServer && )
SensorServer WithTemperature (::fidl::InterfaceRequest< ::fuchsia::hardware::temperature::Device> && )
SensorServer WithTrippoint (::fidl::InterfaceRequest< ::fuchsia::hardware::trippoint::TripPoint> && )
::std::unique_ptr<SensorServer> New ()
void Encode (::fidl::Encoder *encoder,size_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,SensorServer *value,size_toffset)
zx_status_t Clone (SensorServer * result)
bool has_invalid_tag ()
Defined at line 332 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
bool is_temperature ()
Defined at line 336 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
SensorServer & set_temperature (::fidl::InterfaceRequest< ::fuchsia::hardware::temperature::Device> value)
SensorServer & set_trippoint (::fidl::InterfaceRequest< ::fuchsia::hardware::trippoint::TripPoint> value)
SensorServer & SetUnknownData (fidl_xunion_tag_tordinal,std::vector<uint8_t>bytes,std::vector<zx::handle>handles)
::fidl::InterfaceRequest< ::fuchsia::hardware::temperature::Device> & temperature ()
Connects to the sensor's `fuchsia.hardware.temperature.Device` protocol.
Defined at line 339 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
const ::fidl::InterfaceRequest< ::fuchsia::hardware::temperature::Device> & temperature ()
Connects to the sensor's `fuchsia.hardware.temperature.Device` protocol.
Defined at line 345 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
::fidl::InterfaceRequest< ::fuchsia::hardware::trippoint::TripPoint> & trippoint ()
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.
Defined at line 357 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
const ::fidl::InterfaceRequest< ::fuchsia::hardware::trippoint::TripPoint> & trippoint ()
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.
Defined at line 366 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
::fuchsia::thermal::SensorServer::Tag Which ()
Defined at line 373 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
Enumerations
enum Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kUnknown | 0 | -- |
| kTemperature | 1 |
0x1 |
| kTrippoint | 2 |
0x2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() | -- |
Defined at line 317 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
Friends
class Equality