template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 3497 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::DevfsAddArgs Build ()

Build and return the table. The builder should not be used after this.

bool has_connector ()
void clear_connector ()

Clears the connector field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::ClientEnd< ::fuchsia_device_fs::Connector> & connector ()

This is the connector to be installed in devfs.

`Connect()` will be called when a client connects to this node in the filesystem.

Optional: If this is not provided then an empty node will appear in devfs.

BuilderImpl & connector (::fidl::ClientEnd< ::fuchsia_device_fs::Connector> elem)

This is the connector to be installed in devfs.

`Connect()` will be called when a client connects to this node in the filesystem.

Optional: If this is not provided then an empty node will appear in devfs.

bool has_class_name ()
void clear_class_name ()

Clears the class_name field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::StringView & class_name ()

This is the class name for installing this node in devfs.

The node will be placed within /dev/class/{class_name}.

If `class_name` does not exist under /dev/class/ it will be created.

Optional: If this is not provided then the node will only be added via topological path.

BuilderImpl & class_name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

This is the class name for installing this node in devfs.

The node will be placed within /dev/class/{class_name}.

If `class_name` does not exist under /dev/class/ it will be created.

Optional: If this is not provided then the node will only be added via topological path.

bool has_inspect ()
void clear_inspect ()

Clears the inspect field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::zx::vmo & inspect ()

This is a vmo of inspect data that will be installed in devfs.

Optional: If this is not provided then the devfs's inspect data will be empty.

BuilderImpl & inspect (::zx::vmo elem)

This is a vmo of inspect data that will be installed in devfs.

Optional: If this is not provided then the devfs's inspect data will be empty.

bool has_connector_supports ()
void clear_connector_supports ()

Clears the connector_supports field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_device_fs::wire::ConnectionType & connector_supports ()

The connection types that are supported by the |connector| given.

The driver framework should handle connection types that are not supported by the

connector.

If not provided, only the device type is assumed as supported by the connector.

BuilderImpl & connector_supports (::fuchsia_device_fs::wire::ConnectionType elem)

The connection types that are supported by the |connector| given.

The driver framework should handle connection types that are not supported by the

connector.

If not provided, only the device type is assumed as supported by the connector.

bool has_controller_connector ()
void clear_controller_connector ()

Clears the controller_connector field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::ClientEnd< ::fuchsia_device_fs::Connector> & controller_connector ()

This is the controller connector to be installed in devfs.

`Connect()` will be called when a client connects to the device_controller connection

for this node in the filesystem.

Optional: If this is not provided then the Node will handle the connection natively.

This option should only be used by the compat shim or in tests

BuilderImpl & controller_connector (::fidl::ClientEnd< ::fuchsia_device_fs::Connector> elem)

This is the controller connector to be installed in devfs.

`Connect()` will be called when a client connects to the device_controller connection

for this node in the filesystem.

Optional: If this is not provided then the Node will handle the connection natively.

This option should only be used by the compat shim or in tests

Protected Methods

void WireTableBaseBuilder< ::fuchsia_driver_framework::wire::DevfsAddArgs, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::DevfsAddArgs>> && frame)

Records