class Program

Defined at line 3602 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.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 Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::string & 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).

Defined at line 3612 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

bool has_runner ()

Defined at line 3616 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

::std::string * mutable_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).

Defined at line 3624 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

void clear_runner ()

Defined at line 3632 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

const ::fuchsia::data::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.

Defined at line 3650 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

bool has_info ()

Defined at line 3654 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

::fuchsia::data::Dictionary * mutable_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.

Defined at line 3668 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

void clear_info ()

Defined at line 3676 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h

Program & set_runner (::std::string _value)
Program & set_info (::fuchsia::data::Dictionary _value)
void Program ()
void Program (Program && other)
void ~Program ()
Program & operator= (Program && other)
::std::unique_ptr<Program> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Program * _value, size_t _offset)
zx_status_t Clone (Program * _result)