class DevicePortEvent
Defined at line 2692 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h
Port creation and destruction events.
Public Methods
void DevicePortEvent ()
void DevicePortEvent (const DevicePortEvent & )
Defined at line 2697 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h
DevicePortEvent & operator= (const DevicePortEvent & )
Defined at line 2698 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h
void DevicePortEvent (DevicePortEvent && )
Defined at line 2699 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h
bool has_invalid_tag ()
bool is_existing ()
DevicePortEvent WithExisting (::fuchsia_hardware_network::wire::PortId val)
Port existed when watcher was created.
::fuchsia_hardware_network::wire::PortId & existing ()
Port existed when watcher was created.
const ::fuchsia_hardware_network::wire::PortId & existing ()
Port existed when watcher was created.
bool is_added ()
DevicePortEvent WithAdded (::fuchsia_hardware_network::wire::PortId val)
New port was added to device.
::fuchsia_hardware_network::wire::PortId & added ()
New port was added to device.
const ::fuchsia_hardware_network::wire::PortId & added ()
New port was added to device.
bool is_removed ()
DevicePortEvent WithRemoved (::fuchsia_hardware_network::wire::PortId val)
Port was removed from the device.
DevicePortEvent & operator= (DevicePortEvent && )
Defined at line 2700 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h
::fuchsia_hardware_network::wire::PortId & removed ()
Port was removed from the device.
const ::fuchsia_hardware_network::wire::PortId & removed ()
Port was removed from the device.
bool is_idle ()
DevicePortEvent WithIdle (::fuchsia_hardware_network::wire::Empty val)
Exhausted list of existing ports.
::fuchsia_hardware_network::wire::Empty & idle ()
Exhausted list of existing ports.
const ::fuchsia_hardware_network::wire::Empty & idle ()
Exhausted list of existing ports.
::fuchsia_hardware_network::wire::DevicePortEvent::Tag Which ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kExisting | 1 |
| kAdded | 2 |
| kRemoved | 3 |
| kIdle | 4 |
Defined at line 2702 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h