class DevicePortEvent
Defined at line 2165 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 ()
void DevicePortEvent (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 2196 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 2200 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 2203 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const ::fuchsia::hardware::network::PortId & existing ()
Port existed when watcher was created.
Defined at line 2209 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 2215 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 2218 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 2224 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 2230 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void ~DevicePortEvent ()
DevicePortEvent & operator= (DevicePortEvent && )
::fuchsia::hardware::network::PortId & removed ()
Port was removed from the device.
Defined at line 2233 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 2239 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 2245 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 2248 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 2254 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 2260 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 2268 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 2180 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
Friends
class Equality