osg::GraphicsContext::ScreenIdentifier Struct Reference

Inheritance diagram for osg::GraphicsContext::ScreenIdentifier:

osg::GraphicsContext::Traits List of all members.

Public Member Functions

 ScreenIdentifier ()
 ScreenIdentifier (unsigned int in_screenNum)
 ScreenIdentifier (const std::string &in_hostName, unsigned int in_displayNum, unsigned int in_screenNum)
std::string displayName () const
void readDISPLAY ()
void setScreenIdentifier (const std::string &displayName)

Public Attributes

std::string hostName
unsigned int displayNum
unsigned int screenNum

Constructor & Destructor Documentation

osg::GraphicsContext::ScreenIdentifier::ScreenIdentifier (  )  [inline]

osg::GraphicsContext::ScreenIdentifier::ScreenIdentifier ( unsigned int  in_screenNum  )  [inline]

osg::GraphicsContext::ScreenIdentifier::ScreenIdentifier ( const std::string &  in_hostName,
unsigned int  in_displayNum,
unsigned int  in_screenNum 
) [inline]


Member Function Documentation

std::string osg::GraphicsContext::ScreenIdentifier::displayName (  )  const

void osg::GraphicsContext::ScreenIdentifier::readDISPLAY (  ) 

Read the DISPLAY environmental variable, and set the ScreenIdentifier accordingly.

void osg::GraphicsContext::ScreenIdentifier::setScreenIdentifier ( const std::string &  displayName  ) 

Set the screenIndentifier from the displayName string.


Member Data Documentation

std::string osg::GraphicsContext::ScreenIdentifier::hostName

unsigned int osg::GraphicsContext::ScreenIdentifier::displayNum

unsigned int osg::GraphicsContext::ScreenIdentifier::screenNum


The documentation for this struct was generated from the following file:
Generated on Sat Sep 15 21:04:35 2007 for openscenegraph by  doxygen 1.5.1