class DebugProtocolRegistration
Defined at line 4819 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Registers a protocol in the environment as a debug capability. This makes
it available to any component in the environment that uses it with
`source == debug`.
To learn more about protocols, see:
https://fuchsia.dev/fuchsia-src/glossary#protocol
Public Methods
void DebugProtocolRegistration ()
Defined at line 4821 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void DebugProtocolRegistration (const DebugProtocolRegistration & other)
Defined at line 4822 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
bool has_source_name ()
DebugProtocolRegistration & operator= (const DebugProtocolRegistration & other)
Defined at line 4823 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void DebugProtocolRegistration (DebugProtocolRegistration && other)
Defined at line 4824 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/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_decl::wire::DebugProtocolRegistration> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::DebugProtocolRegistration> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::DebugProtocolRegistration>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
DebugProtocolRegistration & operator= (DebugProtocolRegistration && other)
Defined at line 4825 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
::fuchsia_component_decl::wire::Ref & source ()
(Required) The provider of the capability relative to the component
itself. Must be `parent`, `self`, or `child`.
bool has_source ()
::fidl::StringView & source_name ()
(Required) Name identifying the protocol being offered.
::fidl::StringView & target_name ()
(Required) The name by which the capability is being offered.
bool has_target_name ()
DebugProtocolRegistration & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
DebugProtocolRegistration & set_source (std::nullptr_t )
DebugProtocolRegistration & clear_source ()
DebugProtocolRegistration & set_source_name (::fidl::ObjectView< ::fidl::StringView> elem)
DebugProtocolRegistration & set_source_name (std::nullptr_t )
DebugProtocolRegistration & clear_source_name ()
DebugProtocolRegistration & set_target_name (::fidl::ObjectView< ::fidl::StringView> elem)
DebugProtocolRegistration & set_target_name (std::nullptr_t )
DebugProtocolRegistration & clear_target_name ()
void DebugProtocolRegistration (::fidl::AnyArena & allocator)
void DebugProtocolRegistration (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::DebugProtocolRegistration>> && 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_decl::wire::DebugProtocolRegistration>> && frame_ptr)
void ~DebugProtocolRegistration ()
Defined at line 4827 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder