VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
GX::WindowMap Class Reference

A class that can locate a GX::Window object based on a Xlib window handle. More...

#include <gxwindowmap.h>

Classes

struct  NotFound
 Exception class for GX::WindowMap. More...
 

Public Member Functions

 WindowMap ()
 Constructor.
 
 ~WindowMap ()
 Destructor.
 
void add (GX::Window &w)
 Adds a window.
 
void remove (GX::Window &w)
 Removes a window.
 
GX::Windowfind (::Window w) const
 Finds a window. Throws if not found.
 

Static Public Member Functions

static WindowMapinstance ()
 Singleton access. Returns nullptr if none.
 

Detailed Description

A class that can locate a GX::Window object based on a Xlib window handle.

Definition at line 39 of file gxwindowmap.h.


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