Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
wl::interface_t Class Reference

Public Types

enum  interface_e {
  XDG_OUTPUT , WLR_EXPORT_DMABUF , LINUX_DMABUF , IMAGE_COPY_CAPTURE ,
  IMAGE_CAPTURE_SOURCE , MAX_INTERFACES
}

Public Member Functions

 interface_t (interface_t &&)=delete
 interface_t (const interface_t &)=delete
interface_t & operator= (const interface_t &)=delete
interface_t & operator= (interface_t &&)=delete
void listen (wl_registry *registry)
bool operator[] (interface_e bit) const

Public Attributes

std::vector< std::unique_ptr< monitor_t > > monitors
zwlr_screencopy_manager_v1 * screencopy_manager {nullptr}
zwp_linux_dmabuf_v1 * dmabuf_interface {nullptr}
zxdg_output_manager_v1 * output_manager {nullptr}
ext_image_copy_capture_manager_v1 * image_copy_capture_manager {nullptr}
ext_output_image_capture_source_manager_v1 * image_capture_source_manager {nullptr}

Detailed Description

Definition at line 214 of file wayland.h.

Member Enumeration Documentation

◆ interface_e

Enumerator
XDG_OUTPUT 

xdg-output

WLR_EXPORT_DMABUF 

screencopy manager

LINUX_DMABUF 

linux-dmabuf protocol

IMAGE_COPY_CAPTURE 

ext-image-copy-capture manager

IMAGE_CAPTURE_SOURCE 

ext-image-capture-source manager, names an output as a source

MAX_INTERFACES 

Maximum number of interfaces.

Definition at line 221 of file wayland.h.

Constructor & Destructor Documentation

◆ interface_t()

wl::interface_t::interface_t ( )
noexcept

Definition at line 600 of file wayland.cpp.

Member Function Documentation

◆ listen()

void wl::interface_t::listen ( wl_registry * registry)

Definition at line 613 of file wayland.cpp.

◆ operator[]()

bool wl::interface_t::operator[] ( interface_e bit) const
inline

Definition at line 239 of file wayland.h.

Member Data Documentation

◆ dmabuf_interface

zwp_linux_dmabuf_v1* wl::interface_t::dmabuf_interface {nullptr}

Definition at line 245 of file wayland.h.

◆ image_capture_source_manager

ext_output_image_capture_source_manager_v1* wl::interface_t::image_capture_source_manager {nullptr}

Definition at line 248 of file wayland.h.

◆ image_copy_capture_manager

ext_image_copy_capture_manager_v1* wl::interface_t::image_copy_capture_manager {nullptr}

Definition at line 247 of file wayland.h.

◆ monitors

std::vector<std::unique_ptr<monitor_t> > wl::interface_t::monitors

Definition at line 243 of file wayland.h.

◆ output_manager

zxdg_output_manager_v1* wl::interface_t::output_manager {nullptr}

Definition at line 246 of file wayland.h.

◆ screencopy_manager

zwlr_screencopy_manager_v1* wl::interface_t::screencopy_manager {nullptr}

Definition at line 244 of file wayland.h.


The documentation for this class was generated from the following files: