template <>
class Server
Defined at line 390 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/driver/natural_messaging.h
Public Methods
void NodeAdd (NodeAddRequest & request, NodeAddCompleter::Sync & completer)
Adds a new platform device node to the bus, using configuration provided
by |node|. Platform device nodes are created in their own separate
driver hosts.
void GetBoardInfo (GetBoardInfoCompleter::Sync & completer)
Board drivers may use this to get information about the board, and to
differentiate between multiple boards that they support.
void Server ()
Defined at line 393 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/driver/natural_messaging.h
void SetBoardInfo (SetBoardInfoRequest & request, SetBoardInfoCompleter::Sync & completer)
Board drivers may use this to set information about the board.
void SetBootloaderInfo (SetBootloaderInfoRequest & request, SetBootloaderInfoCompleter::Sync & completer)
Board drivers may use this to set information about the bootloader.
void RegisterSysSuspendCallback (RegisterSysSuspendCallbackRequest & request, RegisterSysSuspendCallbackCompleter::Sync & completer)
Registers a callback that's invoked by the platform bus when it's suspending.
void AddCompositeNodeSpec (AddCompositeNodeSpecRequest & request, AddCompositeNodeSpecCompleter::Sync & completer)
Adds a composite node specification that has |node| as one of the
composite node's parents. To accomplish this, this method does a couple
of things. The method adds a platform device node specified by |node| as
a child of the platform bus. Also, a
`fuchsia.driver.framework.ParentSpec` is added to |spec| which matches
the newly added platform device node. Composite bind rules should include
a stanza that matches the properites of |node| in order for the bind
rules to match against the `CompositeNodeSpec`.
void RegisterIommu (RegisterIommuRequest & request, RegisterIommuCompleter::Sync & completer)
Register an iommu. The platform bus will use this to create a new iommu
object with the kernel based on the parameters passed in.
Handler bind_handler (fdf_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~Server ()
Defined at line 394 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/driver/natural_messaging.h