class PlugState
Defined at line 5261 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
Plug state as returned by the driver.
If the driver reports a `plug_detect_capabilities` equal to HARDWIRED, then the driver should
respond to `WatchPlugState` only the first time it is called, with `plugged` set to true and
`plug_state_time` set to time '0'.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_hardware_audio::wire::PlugState> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_hardware_audio::wire::PlugState> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::PlugState>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void PlugState ()
Defined at line 5263 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
void PlugState (const PlugState & other)
Defined at line 5264 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
PlugState & operator= (const PlugState & other)
Defined at line 5265 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
void PlugState (PlugState && other)
Defined at line 5266 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
PlugState & operator= (PlugState && other)
Defined at line 5267 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
bool & plugged ()
Driver is currently plugged in. Required
bool has_plugged ()
int64_t & plug_state_time ()
Timestamps the information provided in the rest of the fields of this struct. Required.
bool has_plug_state_time ()
PlugState & set_plugged (bool elem)
PlugState & clear_plugged ()
PlugState & set_plug_state_time (::fidl::ObjectView<int64_t> elem)
PlugState & set_plug_state_time (std::nullptr_t )
PlugState & clear_plug_state_time ()
void PlugState (::fidl::AnyArena & allocator)
void PlugState (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::PlugState>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::PlugState>> && frame_ptr)
void ~PlugState ()
Defined at line 5269 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder