orxonox::GUIOverlay Class Reference

#include <src/orxonox/overlays/GUIOverlay.h>

Inheritance diagram for orxonox::GUIOverlay:

orxonox::OrxonoxOverlay orxonox::BaseObject orxonox::WindowEventListener orxonox::OrxonoxClass orxonox::OrxonoxClass

List of all members.

Public Member Functions

virtual void changedVisibility ()
 Called by BaseObject when visibility has changed.
const std::stringgetGUIName () const
 GUIOverlay (BaseObject *creator)
void setGUIName (const std::string &name)
virtual void XMLPort (Element &xmlElement, XMLPort::Mode mode)
 Loads the OrxonoxOverlay.
virtual ~GUIOverlay ()

Private Attributes

std::string guiName_


Constructor & Destructor Documentation

orxonox::GUIOverlay::GUIOverlay ( BaseObject creator  ) 

References RegisterObject.

orxonox::GUIOverlay::~GUIOverlay (  )  [virtual]


Member Function Documentation

void orxonox::GUIOverlay::changedVisibility (  )  [virtual]

const std::string& orxonox::GUIOverlay::getGUIName (  )  const [inline]

Referenced by XMLPort().

void orxonox::GUIOverlay::setGUIName ( const std::string name  )  [inline]

Referenced by XMLPort().

void orxonox::GUIOverlay::XMLPort ( Element &  xmlElement,
XMLPort::Mode  mode 
) [virtual]

Loads the OrxonoxOverlay.

This has to be called before usage, otherwise strange behaviour is guaranteed! (there should be no segfaults however). XML loading and saving.

Parameters:
xmlelement The XML-element
loading Loading (true) or saving (false)
Returns:
The XML-element

Reimplemented from orxonox::OrxonoxOverlay.

References getGUIName(), orxonox::GUIManager::getInstance(), guiName_, orxonox::GUIManager::registerOverlay(), setGUIName(), SUPER, and XMLPortParam.


Member Data Documentation

Referenced by changedVisibility(), and XMLPort().


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

Generated on Tue Jul 28 16:22:34 2009 for Orxonox by  doxygen 1.5.6