class Status
Defined at line 385 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/natural_types.h
Dynamic status of a power source.
Public Methods
void Status (Storage_ storage)
void Status ()
Defined at line 391 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/natural_types.h
void Status (Status && )
Defined at line 392 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/natural_types.h
void Status (const Status & other)
Status & operator= (Status && )
Defined at line 393 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/natural_types.h
Status & operator= (const Status & other)
bool operator== (const Status & other)
bool operator!= (const Status & other)
bool IsEmpty ()
const std::optional<bool> & present ()
Whether the power entity is currently physically present.
::std::optional<bool> & present ()
Whether the power entity is currently physically present.
Status & present (std::optional<bool> value)
Whether the power entity is currently physically present.
const std::optional<uint32_t> & voltage_uv ()
The voltage at the node, in microvolts.
::std::optional<uint32_t> & voltage_uv ()
The voltage at the node, in microvolts.
Status & voltage_uv (std::optional<uint32_t> value)
The voltage at the node, in microvolts.
const std::optional<int32_t> & current_ua ()
The current flowing at the node, in microamps.
Positive means flowing out (if Source) or in (if Sink).
::std::optional<int32_t> & current_ua ()
The current flowing at the node, in microamps.
Positive means flowing out (if Source) or in (if Sink).
Status & current_ua (std::optional<int32_t> value)
The current flowing at the node, in microamps.
Positive means flowing out (if Source) or in (if Sink).
const std::optional< ::fuchsia_hardware_power_source::Role> & current_role ()
The role the node is currently performing.
::std::optional< ::fuchsia_hardware_power_source::Role> & current_role ()
The role the node is currently performing.
Status & current_role (std::optional< ::fuchsia_hardware_power_source::Role> value)
The role the node is currently performing.
void Status (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits