# component_testing::RealmRoot

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root_1a9d67868988a87993af184d548400e5de(https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root && other)` ||
| `https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root_1a2bb303abad3d73f07b5d0d48ec8f1c04(const https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root & other)` ||
| `https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root_1ae11a3fdcfe8704cf089644f96beb690a()` ||

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root_1a0c8ee0c7a89c6cc66e02ae2de1821d11(https://fuchsia.dev/reference/cpp/class/fit/function-impl#classfit_1_1function__impl on_teardown_complete)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root_1a058025c022257256d7a9485128edbcf6()` | `https://fuchsia.dev/reference/cpp/class/component-testing/scoped-child#classcomponent__testing_1_1_scoped_child &` |
| `https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root_1a3c9ed276fc12e3431b9f2798498ffa7c()` | `const https://fuchsia.dev/reference/cpp/class/component-testing/scoped-child#classcomponent__testing_1_1_scoped_child &` |
| `https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root_1a578f8d6f8e1e15e36d1635eff9fed2d2(https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root && other)=default` | `https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root &` |
| `https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root_1aa1b85a10ce1316c289e12e73cb36110b(const https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root & other)=delete` | `https://fuchsia.dev/reference/cpp/class/component-testing/realm-root#classcomponent__testing_1_1_realm_root &` |

## Public functions

### RealmRoot

```c++
 RealmRoot(
  RealmRoot && other
)=default
```

### RealmRoot

```c++
 RealmRoot(
  const RealmRoot & other
)=delete
```

### Teardown

```c++
void Teardown(
  ScopedChild::TeardownCallback on_teardown_complete
)
```

### component

```c++
ScopedChild & component()
```

### component

```c++
const ScopedChild & component()
```

### operator=

```c++
RealmRoot & operator=(
  RealmRoot && other
)=default
```

### operator=

```c++
RealmRoot & operator=(
  const RealmRoot & other
)=delete
```

### \~RealmRoot

```c++
 ~RealmRoot()
```