# fidl::SynchronousInterfacePtr

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a24850a2a557d180c136a1fc85c970133()` ||
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a438b5e0349c4032efa534f028e0db5af(std::nullptr_t)` ||
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a77caadc7f8c9ef079812c61f3cfb0bf9(const https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr & other)` ||
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a01aa31e3b7fab93bcedb144941853f91(https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr && other)` ||

| ### Public types ||
|---|---|
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1ac9b02ac0da26fd468e84cd41e3e8690d` | using `typename Interface::Sync_` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1ab8396dc919a17ab6dcba3083786ae349(https://fuchsia.dev/reference/cpp/class/zx/channel#classzx_1_1channel channel)` | `void` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1ae6acbe2c7fe6640914ec61c0cc53d80e(https://fuchsia.dev/reference/cpp/class/fidl/interface-handle#classfidl_1_1_interface_handle< Interface > handle)` | `void` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a737ecaff2a38907b863ab3617fb6f7b8()` | `https://fuchsia.dev/reference/cpp/class/fidl/interface-request#classfidl_1_1_interface_request< Interface >` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a3a4e4636e979babb434397ad79cce8bd()` | `https://fuchsia.dev/reference/cpp/class/fidl/interface-handle#classfidl_1_1_interface_handle< Interface >` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a5afb77fcda1a7ddee8202ecc70ca03a6() const ` | `InterfaceSync *` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a1f3e27a27b66c3f97b5ada0d7cd48ce6() const ` | `bool` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1adb132343497c777dfcb06aeed7fca51e() const ` | ` `` ` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a61a5972c7bb99559a2b2063a1ebaeb80() const ` | `InterfaceSync &` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a7381a3aa3bfc93a815fd8a791c4ab35f() const ` | `InterfaceSync *` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a4805dce8fef8077e4476da07ea07707e(const https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr & other)=delete` | `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr &` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1adf9bfa9b198d3dcb605b11b832210f64(https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr && other)=default` | `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr &` |
| `https://fuchsia.dev/reference/cpp/other/singletonfidl/synchronous-interface-ptr#singletonfidl_1_1_synchronous_interface_ptr_1a0645b22307d6f96703b8c7c8a4728f20() const ` | `https://fuchsia.dev/reference/cpp/other/singletonzx/unowned#singletonzx_1_1unowned` |

## Public types

### InterfaceSync

```c++
typename Interface::Sync_ InterfaceSync
```

## Public functions

### Bind

```c++
void Bind(
  zx::channel channel
)
```

### Bind

```c++
void Bind(
  InterfaceHandle< Interface > handle
)
```

### NewRequest

```c++
InterfaceRequest< Interface > NewRequest()
```

### SynchronousInterfacePtr

```c++
 SynchronousInterfacePtr()
```

### SynchronousInterfacePtr

```c++
 SynchronousInterfacePtr(
  std::nullptr_t
)
```

### SynchronousInterfacePtr

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

### SynchronousInterfacePtr

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

### Unbind

```c++
InterfaceHandle< Interface > Unbind()
```

### get

```c++
InterfaceSync * get() const 
```

### is_bound

```c++
bool is_bound() const 
```

### operator bool

```c++
 operator bool() const 
```

### operator\*

```c++
InterfaceSync & operator*() const 
```

### operator-\>

```c++
InterfaceSync * operator->() const 
```

### operator=

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

### operator=

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

### unowned_channel

```c++
zx::unowned_channel unowned_channel() const 
```