class Event
Defined at line 771 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/natural_types.h
Public Methods
void Event (Event && other)
Event & operator= (Event && other)
void Event (const Event & other)
Event & operator= (const Event & other)
bool operator== (const Event & other)
bool operator!= (const Event & other)
::fuchsia_net_interfaces::Event::Tag Which ()
Event WithExisting (::fuchsia_net_interfaces::Properties val)
const ::fidl::internal::UnionMemberView<1, Storage_> existing ()
::fidl::internal::UnionMemberView<1, Storage_> existing ()
Event & existing (::fuchsia_net_interfaces::Properties value)
Properties of an interface that existed when watching started.
All interested fields and [`Properties.id`] are set.
Event WithAdded (::fuchsia_net_interfaces::Properties val)
const ::fidl::internal::UnionMemberView<2, Storage_> added ()
::fidl::internal::UnionMemberView<2, Storage_> added ()
Event & added (::fuchsia_net_interfaces::Properties value)
Properties of an interface that was added while watching.
All interested fields and [`Properties.id`] are set.
Event WithRemoved (uint64_t val)
const ::fidl::internal::UnionMemberView<3, Storage_> removed ()
::fidl::internal::UnionMemberView<3, Storage_> removed ()
Event & removed (uint64_t value)
ID of an interface that was removed while watching.
Event WithChanged (::fuchsia_net_interfaces::Properties val)
const ::fidl::internal::UnionMemberView<4, Storage_> changed ()
::fidl::internal::UnionMemberView<4, Storage_> changed ()
Event & changed (::fuchsia_net_interfaces::Properties value)
Properties of an interface that changed while watching.
Only [`Properties.id`] and interested fields which have changed
are set with the new values.
Event WithIdle (::fuchsia_net_interfaces::Empty val)
const ::fidl::internal::UnionMemberView<5, Storage_> idle ()
::fidl::internal::UnionMemberView<5, Storage_> idle ()
Event & idle (::fuchsia_net_interfaces::Empty value)
Sentinel value indicating no more [`existing`] events will be
sent.
void Event (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kExisting | 1 |
| kAdded | 2 |
| kRemoved | 3 |
| kChanged | 4 |
| kIdle | 5 |
TODO: share union tag types between wire
&
natural.
Defined at line 779 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits