Wayland++ 1.0.0
C++ Bindings for Wayland
|
context object for high-resolution input timestamps More...
#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 () |
context object for high-resolution input timestamps
A global interface used for requesting high-resolution timestamps for input events.
Definition at line 1216 of file wayland-server-protocol-unstable.hpp.
|
inherited |
Retrieve the interface name (class) of a resource object.
|
inherited |
Get the associated client
|
inherited |
Get the internal ID of the resource
|
inherited |
Get interface version
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
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
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
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.
|
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.
|
inherited |
Check whether this wrapper actually wraps an object.