osg::GraphicsContext::ScreenIdentifier Struct Reference

Inheritance diagram for osg::GraphicsContext::ScreenIdentifier:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ScreenIdentifier ()
 ScreenIdentifier (int in_screenNum)
 ScreenIdentifier (const std::string &in_hostName, int in_displayNum, int in_screenNum)
std::string displayName () const
 Return the display name in the form hostName::displayNum:screenNum.
void readDISPLAY ()
 Read the DISPLAY environmental variable, and set the ScreenIdentifier accordingly.
void setScreenIdentifier (const std::string &displayName)
 Set the screenIndentifier from the displayName string.

Public Attributes

std::string hostName
int displayNum
int screenNum


Constructor & Destructor Documentation

osg::GraphicsContext::ScreenIdentifier::ScreenIdentifier (  ) 

osg::GraphicsContext::ScreenIdentifier::ScreenIdentifier ( int  in_screenNum  ) 

osg::GraphicsContext::ScreenIdentifier::ScreenIdentifier ( const std::string &  in_hostName,
int  in_displayNum,
int  in_screenNum 
)


Member Function Documentation

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

Return the display name in the form hostName::displayNum:screenNum.

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

int osg::GraphicsContext::ScreenIdentifier::displayNum

int osg::GraphicsContext::ScreenIdentifier::screenNum


The documentation for this struct was generated from the following file:
Generated at Sun Oct 14 02:12:09 2007 for the OpenSceneGraph by doxygen 1.5.3.