class Event
Defined at line 1254 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
void Event ()
void Event (Event && )
Event WithExisting (::fuchsia::net::interfaces::Properties && )
Event WithAdded (::fuchsia::net::interfaces::Properties && )
Event WithRemoved (uint64_t && )
Event WithChanged (::fuchsia::net::interfaces::Properties && )
Event WithIdle (::fuchsia::net::interfaces::Empty && )
::std::unique_ptr<Event> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Event * value, size_t offset)
zx_status_t Clone (Event * result)
bool has_invalid_tag ()
Defined at line 1287 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
bool is_existing ()
Defined at line 1291 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
::fuchsia::net::interfaces::Properties & existing ()
Properties of an interface that existed when watching started.
All interested fields and [`Properties.id`] are set.
Defined at line 1296 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
const ::fuchsia::net::interfaces::Properties & existing ()
Properties of an interface that existed when watching started.
All interested fields and [`Properties.id`] are set.
Defined at line 1304 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
bool is_added ()
Defined at line 1310 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
::fuchsia::net::interfaces::Properties & added ()
Properties of an interface that was added while watching.
All interested fields and [`Properties.id`] are set.
Defined at line 1315 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
const ::fuchsia::net::interfaces::Properties & added ()
Properties of an interface that was added while watching.
All interested fields and [`Properties.id`] are set.
Defined at line 1323 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
bool is_removed ()
Defined at line 1329 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
void ~Event ()
Event & operator= (Event && )
uint64_t & removed ()
ID of an interface that was removed while watching.
Defined at line 1332 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
const uint64_t & removed ()
ID of an interface that was removed while watching.
Defined at line 1338 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
bool is_changed ()
Defined at line 1344 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
::fuchsia::net::interfaces::Properties & changed ()
Properties of an interface that changed while watching.
Only [`Properties.id`] and interested fields which have changed
are set with the new values.
Defined at line 1350 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
const ::fuchsia::net::interfaces::Properties & changed ()
Properties of an interface that changed while watching.
Only [`Properties.id`] and interested fields which have changed
are set with the new values.
Defined at line 1359 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
bool is_idle ()
Defined at line 1365 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
::fuchsia::net::interfaces::Empty & idle ()
Sentinel value indicating no more [`existing`] events will be
sent.
Defined at line 1369 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
const ::fuchsia::net::interfaces::Empty & idle ()
Sentinel value indicating no more [`existing`] events will be
sent.
Defined at line 1376 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
::fuchsia::net::interfaces::Event::Tag Which ()
Defined at line 1382 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/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 1388 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
Event & set_existing (::fuchsia::net::interfaces::Properties value)
Event & set_added (::fuchsia::net::interfaces::Properties value)
Event & set_removed (uint64_t value)
Event & set_changed (::fuchsia::net::interfaces::Properties value)
Event & set_idle (::fuchsia::net::interfaces::Empty value)
Enumerations
enum Tag
| Name | Value |
|---|---|
| kExisting | 1 |
| kAdded | 2 |
| kRemoved | 3 |
| kChanged | 4 |
| kIdle | 5 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 1270 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/hlcpp/fuchsia/net/interfaces/cpp/fidl.h
Friends
class Equality