class Transaction
Defined at line 89 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c/fuchsia.hardware.i2c/cpp/fidl/fuchsia.hardware.i2c/cpp/wire_types.h
`data_transfer` is mandatory, and specifies whether this transaction has a read or a write
transfer (see above).
`stop` is optional, and specifies whether this transaction is terminated by a stop condition (if
true) or by a repeated-start (if false or unspecified). If this transaction is the last in the
list then a stop condition is generated regardless of the value of `stop`.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_hardware_i2c::wire::Transaction> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_hardware_i2c::wire::Transaction> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_i2c::wire::Transaction>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Transaction ()
Defined at line 91 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c/fuchsia.hardware.i2c/cpp/fidl/fuchsia.hardware.i2c/cpp/wire_types.h
void Transaction (const Transaction & other)
Defined at line 92 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c/fuchsia.hardware.i2c/cpp/fidl/fuchsia.hardware.i2c/cpp/wire_types.h
::fuchsia_hardware_i2c::wire::DataTransfer & data_transfer ()
bool has_data_transfer ()
Transaction & operator= (const Transaction & other)
Defined at line 93 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c/fuchsia.hardware.i2c/cpp/fidl/fuchsia.hardware.i2c/cpp/wire_types.h
void Transaction (Transaction && other)
Defined at line 94 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c/fuchsia.hardware.i2c/cpp/fidl/fuchsia.hardware.i2c/cpp/wire_types.h
Transaction & operator= (Transaction && other)
Defined at line 95 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c/fuchsia.hardware.i2c/cpp/fidl/fuchsia.hardware.i2c/cpp/wire_types.h
bool & stop ()
bool has_stop ()
Transaction & set_data_transfer (::fidl::ObjectView< ::fuchsia_hardware_i2c::wire::DataTransfer> elem)
Transaction & set_data_transfer (std::nullptr_t )
Transaction & clear_data_transfer ()
void ~Transaction ()
Defined at line 97 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c/fuchsia.hardware.i2c/cpp/fidl/fuchsia.hardware.i2c/cpp/wire_types.h
template <typename... Args>
Transaction & set_data_transfer (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 125 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c/fuchsia.hardware.i2c/cpp/fidl/fuchsia.hardware.i2c/cpp/wire_types.h
Transaction & set_stop (bool elem)
Transaction & clear_stop ()
void Transaction (::fidl::AnyArena & allocator)
void Transaction (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_i2c::wire::Transaction>> && 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::wire::Transaction>> && frame_ptr)
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder