class DevicePortEvent
Defined at line 1896 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
Port creation and destruction events.
Public Members
static const fidl_type_t * FidlType
Public Methods
void DevicePortEvent ()
const ::fuchsia::hardware::network::PortId & existing ()
Port existed when watcher was created.
Defined at line 1940 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool is_added ()
Defined at line 1946 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
::fuchsia::hardware::network::PortId & added ()
New port was added to device.
Defined at line 1949 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const ::fuchsia::hardware::network::PortId & added ()
New port was added to device.
Defined at line 1955 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool is_removed ()
Defined at line 1961 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
::fuchsia::hardware::network::PortId & removed ()
Port was removed from the device.
Defined at line 1964 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const ::fuchsia::hardware::network::PortId & removed ()
Port was removed from the device.
Defined at line 1970 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool is_idle ()
Defined at line 1976 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
::fuchsia::hardware::network::Empty & idle ()
Exhausted list of existing ports.
Defined at line 1979 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const ::fuchsia::hardware::network::Empty & idle ()
Exhausted list of existing ports.
Defined at line 1985 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
::fuchsia::hardware::network::DevicePortEvent::Tag Which ()
Defined at line 1991 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 1999 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void ~DevicePortEvent ()
void DevicePortEvent (DevicePortEvent && )
DevicePortEvent & operator= (DevicePortEvent && )
DevicePortEvent WithExisting (::fuchsia::hardware::network::PortId && )
DevicePortEvent WithAdded (::fuchsia::hardware::network::PortId && )
DevicePortEvent WithRemoved (::fuchsia::hardware::network::PortId && )
DevicePortEvent WithIdle (::fuchsia::hardware::network::Empty && )
::std::unique_ptr<DevicePortEvent> New ()
void Encode (::fidl::Encoder *encoder,size_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,DevicePortEvent *value,size_toffset)
zx_status_t Clone (DevicePortEvent * result)
bool has_invalid_tag ()
Defined at line 1927 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool is_existing ()
Defined at line 1931 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
::fuchsia::hardware::network::PortId & existing ()
Port existed when watcher was created.
Defined at line 1934 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
DevicePortEvent & set_existing (::fuchsia::hardware::network::PortId value)
DevicePortEvent & set_added (::fuchsia::hardware::network::PortId value)
DevicePortEvent & set_removed (::fuchsia::hardware::network::PortId value)
DevicePortEvent & set_idle (::fuchsia::hardware::network::Empty value)
Enumerations
enum Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kExisting | 1 |
0x1 |
| kAdded | 2 |
0x2 |
| kRemoved | 3 |
0x3 |
| kIdle | 4 |
0x4 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() | -- |
Defined at line 1911 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
Friends
class Equality