class DriverStartArgs

Defined at line 2614 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

Arguments for starting a driver.

Public Methods

void DriverStartArgs ()

Defined at line 2616 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

void DriverStartArgs (const DriverStartArgs & other)

Defined at line 2617 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

void DriverStartArgs (DriverStartArgs && other)

Defined at line 2619 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_driver_framework::wire::DriverStartArgs> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_driver_framework::wire::DriverStartArgs> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::DriverStartArgs>> frame)

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

::fidl::ClientEnd< ::fuchsia_driver_framework::Node> & node ()

Node that the driver is bound to.

bool has_node ()
::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeSymbol> & symbols ()

Symbols provided to the driver, for |node|. These come from the driver

that added |node|, and are filtered to the symbols requested in the bind

program.

bool has_symbols ()
::fidl::StringView & url ()

URL of the package containing the driver. This is purely informational,

used only to provide data for inspect.

bool has_url ()
::fuchsia_data::wire::Dictionary & program ()

Information about the driver to start. Currently, we support the

following entries:

1. "binary": a string containing the package-relative path to the

driver binary.

2. "colocate" (optional): a string containing "true" or "false"

specifying whether the driver should be colocated in the same

driver host as the driver that added |node|. If not specified, the

driver will be launched in a new driver host.

3. "default_dispatcher_opts" (optional): an array of strings specifying

the options for creating the default dispatcher. A string can be one

of the following:

* `allow_sync_calls`: allows synchronous calls to be done on the

default dispatcher's thread.

4. "default_dispatcher_scheduler_role" (optional): the scheduler role to

set for the default dispatcher created for the driver.

bool has_program ()
::fidl::VectorView< ::fuchsia_component_runner::wire::ComponentNamespaceEntry> & incoming ()

Incoming namespace provided to the driver.

bool has_incoming ()
::fidl::ServerEnd< ::fuchsia_io::Directory> & outgoing_dir ()

Outgoing directory served by the driver.

bool has_outgoing_dir ()
::zx::vmo & config ()

Configuration passed to the driver.

bool has_config ()
::fidl::StringView & node_name ()

The name of the node the driver is bound to.

bool has_node_name ()
::fidl::VectorView< ::fuchsia_driver_framework::wire::NodePropertyEntry> & node_properties ()

Node properties of the node the driver is bound to.

If the node is non-composite then the "default" entry will contain the

node's own properties.

If the node is a composite then there is an entry for each of its parents

and the "default" entry will reference the primary composite parent

node's properties. The composite parent node's properties are those that

were provided in the composite node specification and not the original

properties of the parent.

bool has_node_properties ()
::fidl::VectorView< ::fuchsia_driver_framework::wire::Offer> & node_offers ()

Node offers of the node the driver is bound to.

bool has_node_offers ()
::zx::event & node_token ()

Provides a token representing this node which can be exchanged with the

driver framework to discern additional information about this node.

bool has_node_token ()
::fidl::VectorView< ::fuchsia_driver_framework::wire::NodePropertyEntry2> & node_properties_2 ()
bool has_node_properties_2 ()
::zx::vmar & vmar ()

Root VMAR the driver is mapped into. All child mappings should be placed into this VMAR

if they want to have the same scheduler profile applied to them.

bool has_vmar ()
::fuchsia_driver_framework::wire::PowerElementArgs & power_element_args ()

Handles related to the driver's power elements on products where suspend is enabled by the

`fuchsia.power.SuspendEnabled` config capability.

If the driver's manifest contains `suspend_enabled = "true"` in the program section of its

manifest, the `element_server`, `lessor_client`, and `token` are passed to the driver,

otherwise the handles are retained by the driver host. `control_client` is always retained

by the driver host and never passed to the driver.

bool has_power_element_args ()
DriverStartArgs & set_node (::fidl::ClientEnd< ::fuchsia_driver_framework::Node> elem)
DriverStartArgs & clear_node ()
DriverStartArgs & set_symbols (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeSymbol>> elem)
DriverStartArgs & set_symbols (std::nullptr_t )
DriverStartArgs & clear_symbols ()
DriverStartArgs & set_url (::fidl::ObjectView< ::fidl::StringView> elem)
DriverStartArgs & set_url (std::nullptr_t )
DriverStartArgs & clear_url ()
DriverStartArgs & set_program (::fidl::ObjectView< ::fuchsia_data::wire::Dictionary> elem)
DriverStartArgs & set_program (std::nullptr_t )
DriverStartArgs & clear_program ()
DriverStartArgs & set_incoming (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_runner::wire::ComponentNamespaceEntry>> elem)
DriverStartArgs & set_incoming (std::nullptr_t )
DriverStartArgs & clear_incoming ()
DriverStartArgs & set_outgoing_dir (::fidl::ServerEnd< ::fuchsia_io::Directory> elem)
DriverStartArgs & clear_outgoing_dir ()
DriverStartArgs & set_config (::zx::vmo elem)
DriverStartArgs & clear_config ()
DriverStartArgs & set_node_name (::fidl::ObjectView< ::fidl::StringView> elem)
DriverStartArgs & set_node_name (std::nullptr_t )
DriverStartArgs & clear_node_name ()
DriverStartArgs & set_node_properties (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodePropertyEntry>> elem)
DriverStartArgs & set_node_properties (std::nullptr_t )
DriverStartArgs & clear_node_properties ()
DriverStartArgs & set_node_offers (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::Offer>> elem)
DriverStartArgs & set_node_offers (std::nullptr_t )
DriverStartArgs & clear_node_offers ()
DriverStartArgs & set_node_token (::zx::event elem)
DriverStartArgs & clear_node_token ()
DriverStartArgs & set_node_properties_2 (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodePropertyEntry2>> elem)
DriverStartArgs & set_node_properties_2 (std::nullptr_t )
DriverStartArgs & clear_node_properties_2 ()
DriverStartArgs & set_vmar (::zx::vmar elem)
DriverStartArgs & clear_vmar ()
DriverStartArgs & set_power_element_args (::fidl::ObjectView< ::fuchsia_driver_framework::wire::PowerElementArgs> elem)
DriverStartArgs & set_power_element_args (std::nullptr_t )
DriverStartArgs & clear_power_element_args ()
void DriverStartArgs (::fidl::AnyArena & allocator)
void DriverStartArgs (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::DriverStartArgs>> && 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_driver_framework::wire::DriverStartArgs>> && frame_ptr)
DriverStartArgs & operator= (const DriverStartArgs & other)

Defined at line 2618 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

DriverStartArgs & operator= (DriverStartArgs && other)

Defined at line 2620 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

void ~DriverStartArgs ()

Defined at line 2622 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder