class ReceivedPacket

Defined at line 2275 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_types.h

Packet received by the host from the controller.

Public Methods

void ReceivedPacket (ReceivedPacket && other)
ReceivedPacket & operator= (ReceivedPacket && other)
void ReceivedPacket (const ReceivedPacket & other)
ReceivedPacket & operator= (const ReceivedPacket & other)
bool operator== (const ReceivedPacket & other)
bool operator!= (const ReceivedPacket & other)
bool IsUnknown ()
::fuchsia_hardware_bluetooth::ReceivedPacket::Tag Which ()
ReceivedPacket WithEvent (::std::vector<uint8_t> val)
const ::fidl::internal::UnionMemberView<1, Storage_> event ()
::fidl::internal::UnionMemberView<1, Storage_> event ()
ReceivedPacket & event (::std::vector<uint8_t> value)

Sets the union to hold the event member.

ReceivedPacket WithAcl (::std::vector<uint8_t> val)
const ::fidl::internal::UnionMemberView<2, Storage_> acl ()
::fidl::internal::UnionMemberView<2, Storage_> acl ()
ReceivedPacket & acl (::std::vector<uint8_t> value)

Sets the union to hold the acl member.

ReceivedPacket WithIso (::std::vector<uint8_t> val)
const ::fidl::internal::UnionMemberView<3, Storage_> iso ()
::fidl::internal::UnionMemberView<3, Storage_> iso ()
ReceivedPacket & iso (::std::vector<uint8_t> value)

Sets the union to hold the iso member.

void ReceivedPacket (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kEvent 1
kAcl 2
kIso 3
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

Defined at line 2286 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits