template <>

class WireWeakSyncClientImpl

Defined at line 1831 of file fidling/gen/src/devices/tests/ddk-lifecycle/fuchsia.device.lifecycle.test/cpp/fidl/fuchsia.device.lifecycle.test/cpp/wire_messaging.h

Public Methods

::fidl::WireResult< ::fuchsia_device_lifecycle_test::TestDevice::AddChild> AddChild (bool init_complete, int32_t init_status)

Adds a child device and returns a unique |id| for the created device.

|complete_init| specifies whether the init hook should be replied to immediately,

or completed later by the caller with |CompleteChildInit|.

Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_device_lifecycle_test::TestDevice::RemoveChild> RemoveChild (uint64_t child_id)

Removes the child device of the given |id|.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_device_lifecycle_test::TestDevice::AsyncRemoveChild> AsyncRemoveChild (uint64_t child_id)

Asynchronously removes a child device.

The remove must be completed with CompleteUnbind.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_device_lifecycle_test::TestDevice::CompleteChildInit> CompleteChildInit (uint64_t child_id)

Replies to the child init hook.

Returns an error if the child has no pending init.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_device_lifecycle_test::TestDevice::SubscribeToLifecycle> SubscribeToLifecycle (::fidl::ServerEnd< ::fuchsia_device_lifecycle_test::Lifecycle> && client)

Registers the client for device lifecycle events.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_device_lifecycle_test::TestDevice::CompleteUnbind> CompleteUnbind (uint64_t child_id)

Finishes an unbind started by AsyncRemoveChild.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.