template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 4126 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
Public Methods
::fuchsia_driver_framework::wire::NodeAddArgs Build ()
Build and return the table. The builder should not be used after this.
bool has_name ()
void clear_name ()
Clears the name field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & name ()
Name of the node.
BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
Name of the node.
bool has_symbols ()
void clear_symbols ()
Clears the symbols field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeSymbol> & symbols ()
Functions to provide to the driver that is bound to this node.
BuilderImpl & symbols (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeSymbol>>> elem)
Functions to provide to the driver that is bound to this node.
bool has_properties ()
void clear_properties ()
Clears the properties field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty> & properties ()
Properties of the node. Deprecated: all new usages should set properties2 and leave
this field blank.
BuilderImpl & properties (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty>>> elem)
Properties of the node. Deprecated: all new usages should set properties2 and leave
this field blank.
bool has_devfs_args ()
void clear_devfs_args ()
Clears the devfs_args field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_driver_framework::wire::DevfsAddArgs & devfs_args ()
The arguments for how this node should be added to devfs.
BuilderImpl & devfs_args (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_driver_framework::wire::DevfsAddArgs>> elem)
The arguments for how this node should be added to devfs.
bool has_offers2 ()
void clear_offers2 ()
Clears the offers2 field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_driver_framework::wire::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.
BuilderImpl & offers2 (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::Offer>>> elem)
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.
bool has_bus_info ()
void clear_bus_info ()
Clears the bus_info field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_driver_framework::wire::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.
BuilderImpl & bus_info (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_driver_framework::wire::BusInfo>> elem)
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.
bool has_properties2 ()
void clear_properties2 ()
Clears the properties2 field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty2> & properties2 ()
Properties of the node. If set, the `properties` field must be blank. Otherwise,
adding the node will return an error.
BuilderImpl & properties2 (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty2>>> elem)
Properties of the node. If set, the `properties` field must be blank. Otherwise,
adding the node will return an error.
bool has_offers_dictionary ()
void clear_offers_dictionary ()
Clears the offers_dictionary field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_component_sandbox::wire::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.
BuilderImpl & offers_dictionary (::fuchsia_component_sandbox::wire::DictionaryRef elem)
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.
bool has_driver_host ()
void clear_driver_host ()
Clears the driver_host field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & 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.
BuilderImpl & driver_host (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
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.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_driver_framework::wire::NodeAddArgs, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::NodeAddArgs>> && frame)