DisplayResX Class Reference

#include <DisplayResX.h>

Inheritance diagram for DisplayResX:
DisplayRes

List of all members.

Public Member Functions

 DisplayResX (void)
 ~DisplayResX (void)
const std::vector
< DisplayResScreen > & 
GetVideoModes (void) const
 Returns all video modes supported by the display.

Protected Member Functions

bool GetDisplayInfo (int &w_pix, int &h_pix, int &w_mm, int &h_mm, double &rate, double &par) const
bool SwitchToVideoMode (int width, int height, double framerate)

Private Attributes

std::vector< DisplayResScreenm_videoModes
std::vector< DisplayResScreenm_videoModesUnsorted

Detailed Description

Definition at line 6 of file DisplayResX.h.


Constructor & Destructor Documentation

DisplayResX::DisplayResX ( void   ) 

Definition at line 17 of file DisplayResX.cpp.

DisplayResX::~DisplayResX ( void   ) 

Definition at line 22 of file DisplayResX.cpp.


Member Function Documentation

const DisplayResVector & DisplayResX::GetVideoModes ( void   )  const [virtual]

Returns all video modes supported by the display.

Returns all video modes available.

This is a conveniance class that instanciates a DisplayRes class if needed, and returns a copy of vector returned by DisplayRes::GetVideoModes(void).

Implements DisplayRes.

Definition at line 104 of file DisplayResX.cpp.

bool DisplayResX::GetDisplayInfo ( int &  w_pix,
int &  h_pix,
int &  w_mm,
int &  h_mm,
double &  rate,
double &  par 
) const [protected, virtual]

Implements DisplayRes.

Definition at line 26 of file DisplayResX.cpp.

bool DisplayResX::SwitchToVideoMode ( int  width,
int  height,
double  framerate 
) [protected, virtual]

Implements DisplayRes.

Definition at line 43 of file DisplayResX.cpp.


Member Data Documentation

std::vector<DisplayResScreen> DisplayResX::m_videoModes [mutable, private]

Definition at line 20 of file DisplayResX.h.

Referenced by GetVideoModes(), and SwitchToVideoMode().

std::vector<DisplayResScreen> DisplayResX::m_videoModesUnsorted [mutable, private]

Definition at line 21 of file DisplayResX.h.

Referenced by GetVideoModes(), and SwitchToVideoMode().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:00 2012 for MythTV by  doxygen 1.6.3