class DevicePortEvent

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

Port creation and destruction events.

Public Methods

void DevicePortEvent (DevicePortEvent && other)
DevicePortEvent & operator= (DevicePortEvent && other)
void DevicePortEvent (const DevicePortEvent & other)
DevicePortEvent & operator= (const DevicePortEvent & other)
bool operator== (const DevicePortEvent & other)
bool operator!= (const DevicePortEvent & other)
::fuchsia_hardware_network::DevicePortEvent::Tag Which ()
DevicePortEvent WithExisting (::fuchsia_hardware_network::PortId val)
const ::fidl::internal::UnionMemberView<1, Storage_> existing ()
::fidl::internal::UnionMemberView<1, Storage_> existing ()
DevicePortEvent & existing (::fuchsia_hardware_network::PortId value)

Port existed when watcher was created.

DevicePortEvent WithAdded (::fuchsia_hardware_network::PortId val)
const ::fidl::internal::UnionMemberView<2, Storage_> added ()
::fidl::internal::UnionMemberView<2, Storage_> added ()
DevicePortEvent & added (::fuchsia_hardware_network::PortId value)

New port was added to device.

DevicePortEvent WithRemoved (::fuchsia_hardware_network::PortId val)
const ::fidl::internal::UnionMemberView<3, Storage_> removed ()
::fidl::internal::UnionMemberView<3, Storage_> removed ()
DevicePortEvent & removed (::fuchsia_hardware_network::PortId value)

Port was removed from the device.

DevicePortEvent WithIdle (::fuchsia_hardware_network::Empty val)
const ::fidl::internal::UnionMemberView<4, Storage_> idle ()
::fidl::internal::UnionMemberView<4, Storage_> idle ()
DevicePortEvent & idle (::fuchsia_hardware_network::Empty value)

Exhausted list of existing ports.

void DevicePortEvent (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kExisting 1

0x1

kAdded 2

0x2

kRemoved 3

0x3

kIdle 4

0x4

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits