template <>

class WireWeakAsyncClientImpl

Defined at line 1072 of file fidling/gen/src/power/system-activity-governor/fake/fidl/test.sagcontrol/cpp/fidl/test.sagcontrol/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::test_sagcontrol::State::Set> Set (::test_sagcontrol::wire::SystemActivityGovernorState SystemActivityGovernorState)

Sets the power elements to specific states supported by SAG.

The initial state of SAG is (2, 0). Boot complete logic is ignored in this protocol.

In SystemActivityGovernorState, omitting specifying a power element's state will preserve

its existing state.

Allocates 48 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::test_sagcontrol::State::Get> Get ()

Return immediately with the current state of SAG.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::test_sagcontrol::State::SetBootComplete> SetBootComplete ()

Inform the Fake SAG to pass through the call and also change state.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::test_sagcontrol::State::Watch> Watch ()

On a given connection, the first call will return immediately with SAG's

current state. Subsequent `Watch` requests will only

return if and only if a `test.sagcontrol.State.Set` call sends a request and SAG's

state has changed to the requested supported state.

For example, if the current state of SAG is (1, 0), the first

`Watch` will return (1, 0). If a `test.sagcontrol.State.Set`

call sends a request to change state to (2, 1), the next `Watch`

will return when the SAG's state has fully transitioned to (2, 1),

any intermediate transient state (in this example, (2, 0),

will not be returned.

Clients should use this to synchronize SAG states.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.