---
name: "wayland_server_zwp_input_timestamps_manager_v1_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_zwp_input_timestamps_manager_v1_t"
---

# wayland\_server\_zwp\_input\_timestamps\_manager\_v1\_t(3)

context object for high-resolution input timestamps

## NAME

wayland::server::zwp\_input\_timestamps\_manager\_v1\_t - context object for high-resolution input timestamps

## SYNOPSIS

`#include <wayland-server-protocol-unstable.hpp>`

Inherits wayland::server::resource\_t.

### Public Member Functions

std::function\< void()\> & **on\_destroy** ()\
 destroy the input timestamps manager object  std::function\< void(**zwp\_input\_timestamps\_v1\_t**, **keyboard\_t**)\> & **on\_get\_keyboard\_timestamps** ()\
 subscribe to high-resolution keyboard timestamp events  std::function\< void(**zwp\_input\_timestamps\_v1\_t**, **pointer\_t**)\> & **on\_get\_pointer\_timestamps** ()\
 subscribe to high-resolution pointer timestamp events  std::function\< void(**zwp\_input\_timestamps\_v1\_t**, **touch\_t**)\> & **on\_get\_touch\_timestamps** ()\
 subscribe to high-resolution touch timestamp events  bool **proxy\_has\_object** () const\
 Check whether this wrapper actually wraps an object.  void **post\_no\_memory** () const\
 uint32\_t **get\_id** () const\
 client\_t **get\_client** () const\
 unsigned int **get\_version** () const\
 std::string **get\_class** ()\

## Detailed Description

context object for high-resolution input timestamps

A global interface used for requesting high-resolution timestamps for input events.

Definition at line **1215** of file **wayland-server-protocol-unstable.hpp**.

## Member Function Documentation

### std::string wayland::server::resource\_t::get\_class ()` [inherited]`

Retrieve the interface name (class) of a resource object.

**Returns**

Interface name of the resource object.

### client\_t wayland::server::resource\_t::get\_client () const` [inherited]`

Get the associated client

**Returns**

the client that owns the resource.

### uint32\_t wayland::server::resource\_t::get\_id () const` [inherited]`

Get the internal ID of the resource

**Returns**

the internal ID of the resource

### unsigned int wayland::server::resource\_t::get\_version () const` [inherited]`

Get interface version

**Returns**

Interface version this resource has been constructed with.

### std::function\< void()\> & zwp\_input\_timestamps\_manager\_v1\_t::on\_destroy ()

destroy the input timestamps manager object Informs the server that the client will no longer be using this protocol object. Existing objects created by this object are not affected.

Definition at line **4721** of file **wayland-server-protocol-unstable.cpp**.

### std::function\< void(zwp\_input\_timestamps\_v1\_t, keyboard\_t)\> & zwp\_input\_timestamps\_manager\_v1\_t::on\_get\_keyboard\_timestamps ()

subscribe to high-resolution keyboard timestamp events

**Parameters**

*id* \
 *keyboard* the wl\_keyboard object for which to get timestamp events

Creates a new input timestamps object that represents a subscription to high-resolution timestamp events for all wl\_keyboard events that carry a timestamp.

If the associated wl\_keyboard object is invalidated, either through client action (e.g. release) or server-side changes, the input timestamps object becomes inert and the client should destroy it by calling zwp\_input\_timestamps\_v1.destroy.

Definition at line **4727** of file **wayland-server-protocol-unstable.cpp**.

### std::function\< void(zwp\_input\_timestamps\_v1\_t, pointer\_t)\> & zwp\_input\_timestamps\_manager\_v1\_t::on\_get\_pointer\_timestamps ()

subscribe to high-resolution pointer timestamp events

**Parameters**

*id* \
 *pointer* the wl\_pointer object for which to get timestamp events

Creates a new input timestamps object that represents a subscription to high-resolution timestamp events for all wl\_pointer events that carry a timestamp.

If the associated wl\_pointer object is invalidated, either through client action (e.g. release) or server-side changes, the input timestamps object becomes inert and the client should destroy it by calling zwp\_input\_timestamps\_v1.destroy.

Definition at line **4733** of file **wayland-server-protocol-unstable.cpp**.

### std::function\< void(zwp\_input\_timestamps\_v1\_t, touch\_t)\> & zwp\_input\_timestamps\_manager\_v1\_t::on\_get\_touch\_timestamps ()

subscribe to high-resolution touch timestamp events

**Parameters**

*id* \
 *touch* the wl\_touch object for which to get timestamp events

Creates a new input timestamps object that represents a subscription to high-resolution timestamp events for all wl\_touch events that carry a timestamp.

If the associated wl\_touch object becomes invalid, either through client action (e.g. release) or server-side changes, the input timestamps object becomes inert and the client should destroy it by calling zwp\_input\_timestamps\_v1.destroy.

Definition at line **4739** of file **wayland-server-protocol-unstable.cpp**.

### void wayland::server::resource\_t::post\_no\_memory () const` [inherited]`

Post 'not enough memory' error to the client

If the compositor has not enough memory to fulfill a certail request of the client, this function can be called to notify the client of this circumstance.

### bool wayland::server::resource\_t::proxy\_has\_object () const` [inherited]`

Check whether this wrapper actually wraps an object.

**Returns**

true if there is an underlying object, false if this wrapper is empty

## Author

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