class I2CBusMetadata

Defined at line 463 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/wire_types.h

Provided by the i2c platform device as metadata.

Public Members

static const char[] kSerializableName

Public Methods

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_i2c_businfo::wire::I2CBusMetadata> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_i2c_businfo::wire::I2CBusMetadata>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void I2CBusMetadata ()

Defined at line 466 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/wire_types.h

void I2CBusMetadata (const I2CBusMetadata & other)

Defined at line 467 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/wire_types.h

void I2CBusMetadata (I2CBusMetadata && other)

Defined at line 469 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_hardware_i2c_businfo::wire::I2CBusMetadata> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::VectorView< ::fuchsia_hardware_i2c_businfo::wire::I2CChannel> & channels ()
bool has_channels ()
uint32_t & bus_id ()

ID of the bus that these devices are on. Set as a bind property on the

devices added by the I2C core driver.

bool has_bus_id ()
I2CBusMetadata & operator= (const I2CBusMetadata & other)

Defined at line 468 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/wire_types.h

I2CBusMetadata & operator= (I2CBusMetadata && other)

Defined at line 470 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/wire_types.h

I2CBusMetadata & set_channels (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_i2c_businfo::wire::I2CChannel>> elem)
I2CBusMetadata & set_channels (std::nullptr_t )
I2CBusMetadata & clear_channels ()
I2CBusMetadata & set_bus_id (uint32_t elem)
I2CBusMetadata & clear_bus_id ()
void I2CBusMetadata (::fidl::AnyArena & allocator)
void I2CBusMetadata (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_i2c_businfo::wire::I2CBusMetadata>> && 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_i2c_businfo::wire::I2CBusMetadata>> && frame_ptr)
void ~I2CBusMetadata ()

Defined at line 472 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/wire_types.h

template <typename... Args>
I2CBusMetadata & set_channels (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 502 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder