# async::GuestBellTrapBase

## Summary

### Inheritance

Direct Known Subclasses:[async::GuestBellTrap](https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap), [async::GuestBellTrapMethod\< Class, method \>](https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-method)

| ### Protected functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base_1a97b42341d7faf2d90cc31a6be4955245(async_guest_bell_trap_handler_t *handler)` | ` `` ` |
| `https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base_1a6543b86c5385c74a64041811b1ea4147(const https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base &)=delete` | ` `` ` |
| `https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base_1a5af241f9682d01bdfbb55cd92f118aba(https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base &&)=delete` | ` `` ` |
| `https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base_1a332fb8d2e6fc4be0457a6ab0188c78e9(const https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base &)=delete` | `https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base &` |
| `https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base_1a449ab595726ce5d46638718621166688(https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base &&)=delete` | `https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base &` |
| `https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base_1a85c293344feca4178142b0a2286c428f()` | ` `` ` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base_1aec21c5b57685d1ca84fa264a194b2c6b(async_dispatcher_t *dispatcher, const https://fuchsia.dev/reference/cpp/class/zx/guest#classzx_1_1guest & guest, zx_vaddr_t addr, size_t length)` | `zx_status_t` |

| ### Protected static functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/async/guest-bell-trap-base#classasync_1_1_guest_bell_trap_base_1a7c60bd6f456a64464042aa4c816b2c1b(https://fuchsia.dev/reference/cpp/struct/async-guest-bell-trap#structasync__guest__bell__trap *trap)` | `T *` |

## Protected functions

### GuestBellTrapBase

```c++
 GuestBellTrapBase(
  async_guest_bell_trap_handler_t *handler
)
```

### GuestBellTrapBase

```c++
 GuestBellTrapBase(
  const GuestBellTrapBase &
)=delete
```

### GuestBellTrapBase

```c++
 GuestBellTrapBase(
  GuestBellTrapBase &&
)=delete
```

### operator=

```c++
GuestBellTrapBase & operator=(
  const GuestBellTrapBase &
)=delete
```

### operator=

```c++
GuestBellTrapBase & operator=(
  GuestBellTrapBase &&
)=delete
```

### \~GuestBellTrapBase

```c++
 ~GuestBellTrapBase()
```

## Public functions

### SetTrap

```c++
zx_status_t SetTrap(
  async_dispatcher_t *dispatcher,
  const zx::guest & guest,
  zx_vaddr_t addr,
  size_t length
)
```

## Protected static functions

### Dispatch

```c++
T * Dispatch(
  async_guest_bell_trap_t *trap
)
```