class SensorServer
Defined at line 303 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 ()
void ~SensorServer ()
void SensorServer (SensorServer && )
SensorServer & operator= (SensorServer && )
SensorServer WithTemperature (::fidl::InterfaceRequest< ::fuchsia::hardware::temperature::Device> && )
::std::unique_ptr<SensorServer> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SensorServer * value, size_t offset)
zx_status_t Clone (SensorServer * result)
bool has_invalid_tag ()
Defined at line 329 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
bool is_temperature ()
Defined at line 333 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 & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
::fidl::InterfaceRequest< ::fuchsia::hardware::temperature::Device> & temperature ()
Defined at line 335 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
const ::fidl::InterfaceRequest< ::fuchsia::hardware::temperature::Device> & temperature ()
Defined at line 340 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
::fuchsia::thermal::SensorServer::Tag Which ()
Defined at line 347 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 359 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 362 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 368 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kTemperature | 1 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 315 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/hlcpp/fuchsia/thermal/cpp/fidl.h
Friends
class Equality