template <>

class NaturalClientImpl

Defined at line 208 of file fidling/gen/sdk/fidl/fuchsia.device/fuchsia.device/cpp/fidl/fuchsia.device/cpp/natural_messaging.h

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_device::Controller::Bind> Bind (const ::fidl::Request< ::fuchsia_device::Controller::Bind> & request)

Attempt to bind a driver to this device.

+ request `driver` This represents the suffix of a driver URL (e.g: "fvm.cm").

If this is non-empty, then the only drivers that will try to bind

are ones that match this url suffix.

::fidl::internal::NaturalThenable< ::fuchsia_device::Controller::Rebind> Rebind (const ::fidl::Request< ::fuchsia_device::Controller::Rebind> & request)

Unbind all the children of this device, and then attempt to bind a driver to the device.

This will not return until the bind completes.

+ request `driver` This represents the suffix of a driver URL (e.g: "fvm.cm").

If this is non-empty, then the only drivers that will try to bind

are ones that match this url suffix.

::fidl::internal::NaturalThenable< ::fuchsia_device::Controller::UnbindChildren> UnbindChildren ()

This api will unbind all the children of this device synchronously.

This will avoid watching for device removal by the clients.

::fidl::internal::NaturalThenable< ::fuchsia_device::Controller::ScheduleUnbind> ScheduleUnbind ()

Disconnect this device and allow its parent to be bound again.

This may not complete before it returns.

::fidl::internal::NaturalThenable< ::fuchsia_device::Controller::GetTopologicalPath> GetTopologicalPath ()

Return the topological path for this device

::fit::result< ::fidl::OneWayError> ConnectToDeviceFidl (::fidl::Request< ::fuchsia_device::Controller::ConnectToDeviceFidl> request)

Connect to the underlying device's FIDL protocol.

This connection will not be multiplexed with fuchsia.device.Controller

or fuchsia.io.Node.

::fit::result< ::fidl::OneWayError> ConnectToController (::fidl::Request< ::fuchsia_device::Controller::ConnectToController> request)

Connect to the same Controller FIDL protocol.