class Program
Defined at line 2491 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_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
void Program (Storage_ storage)
void Program ()
Defined at line 2496 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void Program (Program && )
Defined at line 2497 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void Program (const Program & other)
Program & operator= (Program && )
Defined at line 2498 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
Program & operator= (const Program & other)
bool operator== (const Program & other)
bool operator!= (const Program & other)
bool IsEmpty ()
const std::optional< ::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).
::std::optional< ::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).
Program & runner (std::optional< ::std::string> value)
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).
const std::optional< ::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.
::std::optional< ::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.
Program & info (std::optional< ::fuchsia_data::Dictionary> value)
(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 (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits