Archon::Display::Connection Struct Reference

A connection to some display. More...

#include <archon/display/connection.H>

Inheritance diagram for Archon::Display::Connection:

Inheritance graph
[legend]
Collaboration diagram for Archon::Display::Connection:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual Ref< ImplementationgetImplementation ()=0
 Get the associated implementation.
virtual Ref< ScreengetDefaultScreen ()=0
 Get the descriptor of the default screen of this display.
virtual int getNumberOfScreens ()=0
 Get the number of screens associated with this display.
virtual Ref< ScreengetScreen (int index)=0 throw (out_of_range)
 Get the descriptor of the specified screen.

Detailed Description

A connection to some display.

A display is an arbitrary collection of physical screens.

On the X Window System this is a wrapper around the Display structure of Xlib.

See also:
http://www.x.org

Definition at line 54 of file connection.H.


Member Function Documentation

virtual Ref<Screen> Archon::Display::Connection::getDefaultScreen  )  [pure virtual]
 

Get the descriptor of the default screen of this display.

Returns:
The descriptor of the default screen.
See also:
Screen

Implemented in Archon::Display::ConnectionX11.

virtual Ref<Implementation> Archon::Display::Connection::getImplementation  )  [pure virtual]
 

Get the associated implementation.

Returns:
A display implementation.

Implemented in Archon::Display::ConnectionX11.

virtual int Archon::Display::Connection::getNumberOfScreens  )  [pure virtual]
 

Get the number of screens associated with this display.

Returns:
The number of available screens.
See also:
Screen

Implemented in Archon::Display::ConnectionX11.

virtual Ref<Screen> Archon::Display::Connection::getScreen int  index  )  throw (out_of_range) [pure virtual]
 

Get the descriptor of the specified screen.

Parameters:
index The screen index.
Returns:
A screen descriptor.
See also:
Screen

Implemented in Archon::Display::ConnectionX11.


The documentation for this struct was generated from the following file:
Generated on Sun Jul 30 22:56:43 2006 for Archon by  doxygen 1.4.4