class Handler

Defined at line 8670 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

Facilitates member protocol registration for servers.

Public Methods

void Handler (::fidl::ServiceHandlerBase * service)

Constructs a new |Handler|. Does not take ownership of |service|.

Defined at line 8673 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

zx_status_t add_device (::fidl::InterfaceRequestHandler< ::fuchsia::gpu::magma::CombinedDevice> handler)

Adds member "device" to the service instance. |handler| is invoked when a connection

is made to the member protocol.

# Errors

Returns ZX_ERR_ALREADY_EXISTS if the member was already added.

Defined at line 8681 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

zx_status_t add_power_element_provider (::fidl::InterfaceRequestHandler< ::fuchsia::gpu::magma::PowerElementProvider> handler)

Adds member "power_element_provider" to the service instance. |handler| is invoked when a connection

is made to the member protocol.

# Errors

Returns ZX_ERR_ALREADY_EXISTS if the member was already added.

Defined at line 8690 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h

zx_status_t add_test_device (::fidl::InterfaceRequestHandler< ::fuchsia::gpu::magma::TestDevice2> handler)

Adds member "test_device" to the service instance. |handler| is invoked when a connection

is made to the member protocol.

# Errors

Returns ZX_ERR_ALREADY_EXISTS if the member was already added.

Defined at line 8699 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/hlcpp/fuchsia/gpu/magma/cpp/fidl.h