class Program
Defined at line 3490 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
A program declaration.
This declaration is set by executable components to designate the runner to
use and pass runner-specific program information to it.
To learn more about runners, see:
https://fuchsia.dev/fuchsia-src/glossary#runner
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::Program> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::Program> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Program>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Program>> && frame_ptr)
void Program ()
Defined at line 3492 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void Program (Program && other)
Defined at line 3495 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Program & operator= (Program && other)
Defined at line 3496 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
::fidl::StringView & runner ()
The name of the runner to use to run the component. Must match a `RunnerRegistration` in the
component's environment. If this value is not supplied, the component must 'use' a runner.
If this value is supplied, the component may 'use' a runner, but it must be identical
(matching name, from environment).
bool has_runner ()
bool has_info ()
Program & operator= (const Program & other)
Defined at line 3494 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Program & set_runner (::fidl::ObjectView< ::fidl::StringView> elem)
Program & set_runner (std::nullptr_t )
Program & clear_runner ()
Program & set_info (::fidl::ObjectView< ::fuchsia_data::wire::Dictionary> elem)
Program & set_info (std::nullptr_t )
Program & clear_info ()
void Program (::fidl::AnyArena & allocator)
void Program (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Program>> && 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 Program (const Program & other)
Defined at line 3493 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
::fuchsia_data::wire::Dictionary & info ()
(Required) Information about the program to run when the component is
executed. The component manager provides the contents of this dictionary
to the runner when executing this program.
For instance, this might contain a path to the program's executable
image, or program arguments.
* The keys represent namespaced properties, delimited by ".".
* Properties may be nested in values, but only in the case of an object
vector.
void ~Program ()
Defined at line 3498 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