class EventHeader

Defined at line 2092 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h

A head providing metadata about a target component instance.

Public Methods

void EventHeader ()

Defined at line 2094 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h

void EventHeader (const EventHeader & other)

Defined at line 2095 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h

bool has_component_url ()
EventHeader & operator= (const EventHeader & other)

Defined at line 2096 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h

void EventHeader (EventHeader && other)

Defined at line 2097 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.

::fidl::WireTableBuilder< ::fuchsia_component::wire::EventHeader> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_component::wire::EventHeader> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::EventHeader>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

::fuchsia_component::wire::EventType & event_type ()

Event type corresponding to the event

bool has_event_type ()
::fidl::StringView & moniker ()

Relative moniker identifying the component instance. Relative to the scope of the event.

bool has_moniker ()
::fidl::StringView & component_url ()

URL used to resolve the component.

EventHeader & operator= (EventHeader && other)

Defined at line 2098 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h

::fidl::basic_time<((zx_clock_t)1)> & timestamp ()

Boot time when the event occurred.

bool has_timestamp ()
EventHeader & set_event_type (::fuchsia_component::wire::EventType elem)
EventHeader & clear_event_type ()
EventHeader & set_moniker (::fidl::ObjectView< ::fidl::StringView> elem)
EventHeader & set_moniker (std::nullptr_t )
EventHeader & clear_moniker ()
EventHeader & set_component_url (::fidl::ObjectView< ::fidl::StringView> elem)
EventHeader & set_component_url (std::nullptr_t )
EventHeader & clear_component_url ()
EventHeader & set_timestamp (::fidl::ObjectView< ::fidl::basic_time<((zx_clock_t)1)>> elem)
EventHeader & set_timestamp (std::nullptr_t )
EventHeader & clear_timestamp ()
void EventHeader (::fidl::AnyArena & allocator)
void EventHeader (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::EventHeader>> && 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::EventHeader>> && frame_ptr)
void ~EventHeader ()

Defined at line 2100 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder