class DevfsAddArgs

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

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

DevfsAddArgs & set_connector (::fidl::InterfaceHandle< ::fuchsia::device::fs::Connector> _value)
DevfsAddArgs & set_class_name (::std::string _value)
DevfsAddArgs & set_inspect (::zx::vmo _value)
DevfsAddArgs & set_connector_supports (::fuchsia::device::fs::ConnectionType _value)
DevfsAddArgs & set_controller_connector (::fidl::InterfaceHandle< ::fuchsia::device::fs::Connector> _value)
void DevfsAddArgs ()
void DevfsAddArgs (DevfsAddArgs && other)
void ~DevfsAddArgs ()
DevfsAddArgs & operator= (DevfsAddArgs && other)
::std::unique_ptr<DevfsAddArgs> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, DevfsAddArgs * _value, size_t _offset)
zx_status_t Clone (DevfsAddArgs * _result)
const ::fidl::InterfaceHandle< ::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.

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

bool has_connector ()

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

::fidl::InterfaceHandle< ::fuchsia::device::fs::Connector> * mutable_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.

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

void clear_connector ()

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

const ::std::string & 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.

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

bool has_class_name ()

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

::std::string * mutable_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.

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

void clear_class_name ()

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

const ::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.

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

bool has_inspect ()

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

::zx::vmo * mutable_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.

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

void clear_inspect ()

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

const ::fuchsia::device::fs::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.

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

bool has_connector_supports ()

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

::fuchsia::device::fs::ConnectionType * mutable_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.

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

void clear_connector_supports ()

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

const ::fidl::InterfaceHandle< ::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

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

bool has_controller_connector ()

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

::fidl::InterfaceHandle< ::fuchsia::device::fs::Connector> * mutable_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

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

void clear_controller_connector ()

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