---
name: "wayland_server_global_base_t"
section: "3"
platform: "linux"
package: "waylandpp-dev"
version: "1.0.0-6+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/wayland_server_global_base_t"
---

# wayland\_server\_global\_base\_t(3)

## NAME

wayland::server::global\_base\_t

## SYNOPSIS

`#include <wayland-server.hpp>`

Inherited by **wayland::server::global\_t\< resource \>**.

### Public Member Functions

template\<typename resource \> bool **has\_interface** ()\

## Detailed Description

Global object base class

Definition at line **580** of file **wayland-server.hpp**.

## Member Function Documentation

### template\<typename resource \> bool wayland::server::global\_base\_t::has\_interface ()` [inline]`

Check for specific interface.

**Template Parameters**

*resource* Resource class for comparison

**Returns**

true if the global has the same interface as the resource class

Definition at line **614** of file **wayland-server.hpp**.

## Author

Generated automatically by Doxygen for Wayland++ from the source code.
