class NodeAddArgs

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

Arguments for adding a node.

Public Methods

void NodeAddArgs ()

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

void NodeAddArgs (NodeAddArgs && )

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

void NodeAddArgs (Storage_ storage)
bool IsEmpty ()
const std::optional< ::std::string> & name ()

Name of the node.

::std::optional< ::std::string> & name ()

Name of the node.

NodeAddArgs & name (std::optional< ::std::string> value)

Name of the node.

const std::optional< ::std::vector< ::fuchsia_driver_framework::NodeSymbol>> & symbols ()

Functions to provide to the driver that is bound to this node.

::std::optional< ::std::vector< ::fuchsia_driver_framework::NodeSymbol>> & symbols ()

Functions to provide to the driver that is bound to this node.

NodeAddArgs & symbols (std::optional< ::std::vector< ::fuchsia_driver_framework::NodeSymbol>> value)

Functions to provide to the driver that is bound to this node.

const std::optional< ::std::vector< ::fuchsia_driver_framework::NodeProperty>> & properties ()

Properties of the node. Deprecated: all new usages should set properties2 and leave

this field blank.

::std::optional< ::std::vector< ::fuchsia_driver_framework::NodeProperty>> & properties ()

Properties of the node. Deprecated: all new usages should set properties2 and leave

this field blank.

NodeAddArgs & properties (std::optional< ::std::vector< ::fuchsia_driver_framework::NodeProperty>> value)

Properties of the node. Deprecated: all new usages should set properties2 and leave

this field blank.

const std::optional< ::fuchsia_driver_framework::DevfsAddArgs> & devfs_args ()

The arguments for how this node should be added to devfs.

::std::optional< ::fuchsia_driver_framework::DevfsAddArgs> & devfs_args ()

The arguments for how this node should be added to devfs.

NodeAddArgs & devfs_args (std::optional< ::fuchsia_driver_framework::DevfsAddArgs> value)

The arguments for how this node should be added to devfs.

const std::optional< ::std::vector< ::fuchsia_driver_framework::Offer>> & offers2 ()

Capabilities to offer to the driver that is bound to this node.

The driver must ensure these capabilities are added to its outgoing directory or in the

|offers_dictionary| (if any of these are |dictionary_offer| type)

before adding the child node.

::std::optional< ::std::vector< ::fuchsia_driver_framework::Offer>> & offers2 ()

Capabilities to offer to the driver that is bound to this node.

The driver must ensure these capabilities are added to its outgoing directory or in the

|offers_dictionary| (if any of these are |dictionary_offer| type)

before adding the child node.

NodeAddArgs & offers2 (std::optional< ::std::vector< ::fuchsia_driver_framework::Offer>> value)

Capabilities to offer to the driver that is bound to this node.

The driver must ensure these capabilities are added to its outgoing directory or in the

|offers_dictionary| (if any of these are |dictionary_offer| type)

before adding the child node.

const std::optional< ::fuchsia_driver_framework::BusInfo> & bus_info ()

Information that feeds into a structured bus topology for the device. It should

only be specified by bus drivers, ideally those which are included by default.

::std::optional< ::fuchsia_driver_framework::BusInfo> & bus_info ()

Information that feeds into a structured bus topology for the device. It should

only be specified by bus drivers, ideally those which are included by default.

NodeAddArgs & bus_info (std::optional< ::fuchsia_driver_framework::BusInfo> value)

Information that feeds into a structured bus topology for the device. It should

only be specified by bus drivers, ideally those which are included by default.

NodeAddArgs & operator= (NodeAddArgs && )

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

const std::optional< ::std::vector< ::fuchsia_driver_framework::NodeProperty2>> & properties2 ()

Properties of the node. If set, the `properties` field must be blank. Otherwise,

adding the node will return an error.

::std::optional< ::std::vector< ::fuchsia_driver_framework::NodeProperty2>> & properties2 ()

Properties of the node. If set, the `properties` field must be blank. Otherwise,

adding the node will return an error.

NodeAddArgs & properties2 (std::optional< ::std::vector< ::fuchsia_driver_framework::NodeProperty2>> value)

Properties of the node. If set, the `properties` field must be blank. Otherwise,

adding the node will return an error.

const std::optional< ::fuchsia_component_sandbox::DictionaryRef> & offers_dictionary ()

This can be used to provide additional offers, through a dictionary, to the driver that is

bound to this node. The user MUST use the |offers2| field to specify |dictionary_offer|

type offers for offers that exist in this dictionary.

::std::optional< ::fuchsia_component_sandbox::DictionaryRef> & offers_dictionary ()

This can be used to provide additional offers, through a dictionary, to the driver that is

bound to this node. The user MUST use the |offers2| field to specify |dictionary_offer|

type offers for offers that exist in this dictionary.

NodeAddArgs & offers_dictionary (std::optional< ::fuchsia_component_sandbox::DictionaryRef> value)

This can be used to provide additional offers, through a dictionary, to the driver that is

bound to this node. The user MUST use the |offers2| field to specify |dictionary_offer|

type offers for offers that exist in this dictionary.

const std::optional< ::std::string> & driver_host ()

An identifier for the driver host which a driver that binds to this node should live in.

All drivers which specify the same identifier will be colocated into the same driver host.

If the driver host hasn't been started, it will be started upon the time the node is bound

to. Only respected if the driver binds directly to this node. If a composite binds to this

node, then this field will be ignored as it should be expressed in the composite node spec

instead.

::std::optional< ::std::string> & driver_host ()

An identifier for the driver host which a driver that binds to this node should live in.

All drivers which specify the same identifier will be colocated into the same driver host.

If the driver host hasn't been started, it will be started upon the time the node is bound

to. Only respected if the driver binds directly to this node. If a composite binds to this

node, then this field will be ignored as it should be expressed in the composite node spec

instead.

NodeAddArgs & driver_host (std::optional< ::std::string> value)

An identifier for the driver host which a driver that binds to this node should live in.

All drivers which specify the same identifier will be colocated into the same driver host.

If the driver host hasn't been started, it will be started upon the time the node is bound

to. Only respected if the driver binds directly to this node. If a composite binds to this

node, then this field will be ignored as it should be expressed in the composite node spec

instead.

void NodeAddArgs (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits