class NodeController

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

Protocol through which a parent node controls one of its children.

Public Methods

void ~NodeController ()
void Remove ()

Removes the node and all of its children.

void RequestBind (::fuchsia::driver::framework::NodeControllerRequestBindRequest NodeControllerRequestBindRequest, RequestBindCallback callback)

Request that the framework attempts to bind a driver to this node.

This is an *additional* request for binding as the framework attempts to bind a node once

when the node is created.

* error `ZX_ERR_ALREADY_BOUND` if the node is already bound and `force_rebind` is false.

* error `ZX_ERR_ALREADY_EXISTS` if the node has an outstanding |RequestBind| call which has

not completed.

void WaitForDriver (WaitForDriverCallback callback)

Hanging get style call that returns a terminal state for the associated `Node`,

or the composite node that is parented by this node.

For a successfully started driver this returns immediately with the token of the

node that the driver started on.

If an error happens we wait until bootup is complete, which is when all drivers that

can bind and start have done so, before returning the error.

Protected Methods

void handle_unknown_method (uint64_t ordinal, bool method_has_response)

Friends

class NodeController_Stub