# component_testing::ExecutionController

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/component-testing/execution-controller#classcomponent__testing_1_1_execution_controller_1aada06d13a3b780de14738c377c5cda38(fuchsia::component::ExecutionControllerPtr execution_controller_proxy)` ||

| ### Public types ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/component-testing/execution-controller#classcomponent__testing_1_1_execution_controller_1a5254a904e6e642da609db3c519c60e9b` | using `https://fuchsia.dev/reference/cpp/class/fit/function-impl#classfit_1_1function__impl< void(fuchsia::component::StoppedPayload)>` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/component-testing/execution-controller#classcomponent__testing_1_1_execution_controller_1a435a6aa07556aaf0b0ee1ef33ebe17ad(https://fuchsia.dev/reference/cpp/class/fit/function-impl#classfit_1_1function__impl callback)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/component-testing/execution-controller#classcomponent__testing_1_1_execution_controller_1aa2fe0c0c7ab1753f33bcf4427f918556()` | `void` |

## Public types

### StopCallback

```c++
fit::function< void(fuchsia::component::StoppedPayload)> StopCallback
```

## Public functions

### ExecutionController

```c++
 ExecutionController(
  fuchsia::component::ExecutionControllerPtr execution_controller_proxy
)
```

### OnStop

```c++
void OnStop(
  StopCallback callback
)
```

### Stop

```c++
void Stop()
```