class HealthDiagnosticValue

Defined at line 2373 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

Diagnostic value returned in a HealthCheckResponse.

Public Members

static const fidl_type_t * FidlType

Public Methods

void HealthDiagnosticValue ()
int64_t & int_value ()

Defined at line 2426 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const int64_t & int_value ()

Defined at line 2431 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool is_uint_value ()

Defined at line 2437 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const bool & bool_value ()

Defined at line 2457 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool is_timestamp ()

Defined at line 2463 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

::fuchsia::driver::framework::HealthDiagnosticValue::Tag Which ()

Defined at line 2479 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/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 2497 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const std::vector<uint8_t> * UnknownBytes ()

Defined at line 2500 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

void ~HealthDiagnosticValue ()
void HealthDiagnosticValue (HealthDiagnosticValue && )
HealthDiagnosticValue & operator= (HealthDiagnosticValue && )
HealthDiagnosticValue WithStringValue (::std::string && )
HealthDiagnosticValue WithIntValue (int64_t && )
HealthDiagnosticValue WithUintValue (uint64_t && )
HealthDiagnosticValue WithBoolValue (bool && )
HealthDiagnosticValue WithTimestamp (::fidl::basic_time<((zx_clock_t)1)> && )
::std::unique_ptr<HealthDiagnosticValue> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, HealthDiagnosticValue * value, size_t offset)
zx_status_t Clone (HealthDiagnosticValue * result)
bool has_invalid_tag ()

Defined at line 2407 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool is_string_value ()

Defined at line 2411 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

HealthDiagnosticValue & set_int_value (int64_t value)
HealthDiagnosticValue & set_bool_value (bool value)
HealthDiagnosticValue & set_timestamp (::fidl::basic_time<((zx_clock_t)1)> value)
HealthDiagnosticValue & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::std::string & string_value ()

Defined at line 2413 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const ::std::string & string_value ()

Defined at line 2418 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool is_int_value ()

Defined at line 2424 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

HealthDiagnosticValue & set_string_value (::std::string value)
uint64_t & uint_value ()

Defined at line 2439 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const uint64_t & uint_value ()

Defined at line 2444 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool is_bool_value ()

Defined at line 2450 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool & bool_value ()

Defined at line 2452 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

HealthDiagnosticValue & set_uint_value (uint64_t value)
::fidl::basic_time<((zx_clock_t)1)> & timestamp ()

Boot-timeline instant, e.g. time of the last interrupt or input report.

Defined at line 2466 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const ::fidl::basic_time<((zx_clock_t)1)> & timestamp ()

Boot-timeline instant, e.g. time of the last interrupt or input report.

Defined at line 2472 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kUnknown 0 --
kStringValue 1

0x1

kIntValue 2

0x2

kUintValue 3

0x3

kBoolValue 4

0x4

kTimestamp 5

0x5

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

Defined at line 2389 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

Friends

class Equality