class NodeAddArgs
Defined at line 3955 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
Arguments for adding a node.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_driver_framework::wire::NodeAddArgs> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_driver_framework::wire::NodeAddArgs> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::NodeAddArgs>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::NodeAddArgs>> && frame_ptr)
void NodeAddArgs ()
Defined at line 3957 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void NodeAddArgs (const NodeAddArgs & other)
Defined at line 3958 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void NodeAddArgs (NodeAddArgs && other)
Defined at line 3960 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void _CloseHandles ()
::fidl::StringView & name ()
Name of the node.
bool has_name ()
::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeSymbol> & symbols ()
Functions to provide to the driver that is bound to this node.
bool has_symbols ()
::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty> & properties ()
Properties of the node. Deprecated: all new usages should set properties2 and leave
this field blank.
bool has_properties ()
::fuchsia_driver_framework::wire::DevfsAddArgs & devfs_args ()
The arguments for how this node should be added to devfs.
bool has_devfs_args ()
::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.
bool has_offers2 ()
::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.
bool has_bus_info ()
NodeAddArgs & operator= (NodeAddArgs && other)
Defined at line 3961 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
::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.
bool has_properties2 ()
::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.
bool has_offers_dictionary ()
::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.
bool has_driver_host ()
NodeAddArgs & operator= (const NodeAddArgs & other)
Defined at line 3959 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
NodeAddArgs & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
NodeAddArgs & set_name (std::nullptr_t )
NodeAddArgs & clear_name ()
NodeAddArgs & set_symbols (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeSymbol>> elem)
NodeAddArgs & set_symbols (std::nullptr_t )
NodeAddArgs & clear_symbols ()
NodeAddArgs & set_properties (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty>> elem)
NodeAddArgs & set_properties (std::nullptr_t )
NodeAddArgs & clear_properties ()
NodeAddArgs & set_devfs_args (::fidl::ObjectView< ::fuchsia_driver_framework::wire::DevfsAddArgs> elem)
NodeAddArgs & set_devfs_args (std::nullptr_t )
NodeAddArgs & clear_devfs_args ()
NodeAddArgs & set_offers2 (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::Offer>> elem)
NodeAddArgs & set_offers2 (std::nullptr_t )
NodeAddArgs & clear_offers2 ()
NodeAddArgs & set_bus_info (::fidl::ObjectView< ::fuchsia_driver_framework::wire::BusInfo> elem)
NodeAddArgs & set_bus_info (std::nullptr_t )
NodeAddArgs & clear_bus_info ()
NodeAddArgs & set_properties2 (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty2>> elem)
NodeAddArgs & set_properties2 (std::nullptr_t )
NodeAddArgs & clear_properties2 ()
NodeAddArgs & set_offers_dictionary (::fuchsia_component_sandbox::wire::DictionaryRef elem)
NodeAddArgs & clear_offers_dictionary ()
NodeAddArgs & set_driver_host (::fidl::ObjectView< ::fidl::StringView> elem)
NodeAddArgs & set_driver_host (std::nullptr_t )
NodeAddArgs & clear_driver_host ()
void NodeAddArgs (::fidl::AnyArena & allocator)
void NodeAddArgs (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::NodeAddArgs>> && 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 ~NodeAddArgs ()
Defined at line 3963 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