class Event
Defined at line 3218 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
Contains all information about a single event
Public Methods
::fidl::WireTableBuilder< ::fuchsia_component::wire::Event> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
void Event ()
Defined at line 3220 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
void Event (const Event & other)
Defined at line 3221 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
void Event (Event && other)
Defined at line 3223 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
void _CloseHandles ()
::fidl::WireTableExternalBuilder< ::fuchsia_component::wire::Event> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::Event>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fuchsia_component::wire::EventHeader & header ()
Information about the component for which this event was generated.
bool has_header ()
Event & operator= (const Event & other)
Defined at line 3222 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
Event & operator= (Event && other)
Defined at line 3224 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
::fuchsia_component::wire::EventPayload & payload ()
Optional payload for some event types
bool has_payload ()
Event & set_header (::fidl::ObjectView< ::fuchsia_component::wire::EventHeader> elem)
Event & set_header (std::nullptr_t )
Event & clear_header ()
Event & set_payload (::fidl::ObjectView< ::fuchsia_component::wire::EventPayload> elem)
Event & set_payload (std::nullptr_t )
Event & clear_payload ()
void Event (::fidl::AnyArena & allocator)
void Event (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::Event>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::Event>> && frame_ptr)
void ~Event ()
Defined at line 3226 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder