<html> <head> <title>Ogre::GuiManager class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.2.16 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Ogre::GuiManager Class Reference</h1>This class acts as a repository and regitrar of overlay components. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreGuiManager_8h-source.html">OgreGuiManager.h</a>></code> <p> Inheritance diagram for Ogre::GuiManager:<p><center><img src="classOgre_1_1GuiManager__inherit__graph.png" border="0" usemap="#Ogre_1_1GuiManager__inherit__map" alt="Inheritance graph"></center> <map name="Ogre_1_1GuiManager__inherit__map"> <area href="classOgre_1_1Singleton.html" shape="rect" coords="7,36,201,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::GuiManager:<p><center><img src="classOgre_1_1GuiManager__coll__graph.png" border="0" usemap="#Ogre_1_1GuiManager__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1GuiManager__coll__map"> <area href="classOgre_1_1Singleton.html" shape="rect" coords="7,126,201,108" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1GuiManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagera0">GuiManager</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagera1">~GuiManager</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagera2">createGuiElement</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &typeName, const <a class="el" href="classOgre_1_1String.html">String</a> &instanceName, bool isTemplate=false)</td></tr> <tr><td> </td><td><font size=-1><em>Creates a new <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> of the type requested.</em> <a href="#Ogre_1_1GuiManagera2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagera3">getGuiElement</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &name, bool isTemplate=false)</td></tr> <tr><td> </td><td><font size=-1><em>Gets a reference to an existing element.</em> <a href="#Ogre_1_1GuiManagera3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagera4">destroyGuiElement</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &instanceName, bool isTemplate=false)</td></tr> <tr><td> </td><td><font size=-1><em>Destroys a <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a>.</em> <a href="#Ogre_1_1GuiManagera4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagera5">destroyGuiElement</a> (<a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> *pInstance, bool isTemplate=false)</td></tr> <tr><td> </td><td><font size=-1><em>Destroys a <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a>.</em> <a href="#Ogre_1_1GuiManagera5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagera6">destroyAllGuiElements</a> (bool isTemplate=false)</td></tr> <tr><td> </td><td><font size=-1><em>Destroys all the <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> created so far.</em> <a href="#Ogre_1_1GuiManagera6"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagera7">addGuiElementFactory</a> (<a class="el" href="classOgre_1_1GuiElementFactory.html">GuiElementFactory</a> *elemFactory)</td></tr> <tr><td> </td><td><font size=-1><em>Registers a new <a class="el" href="classOgre_1_1GuiElementFactory.html">GuiElementFactory</a> with this manager.</em> <a href="#Ogre_1_1GuiManagera7"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagera8">createGuiElementFromTemplate</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &templateName, const <a class="el" href="classOgre_1_1String.html">String</a> &typeName, const <a class="el" href="classOgre_1_1String.html">String</a> &instanceName, bool isTemplate=false)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagera9">createGuiElementFromFactory</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &typeName, const <a class="el" href="classOgre_1_1String.html">String</a> &instanceName)</td></tr> <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>GuiManager & </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagerd0">getSingleton</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval.</em> <a href="#Ogre_1_1GuiManagerd0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>GuiManager * </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1Singletond1">getSingletonPtr</a> (void)</td></tr> <tr><td colspan=2><br><h2>Protected Types</h2></td></tr> <tr><td nowrap align=right valign=top>typedef std::map< <a class="el" href="classOgre_1_1String.html">String</a>,<br> <a class="el" href="classOgre_1_1GuiElementFactory.html">GuiElementFactory</a> * > </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert0">FactoryMap</a></td></tr> <tr><td nowrap align=right valign=top>typedef std::map< <a class="el" href="classOgre_1_1String.html">String</a>,<br> <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * > </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a></td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> & </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagerb0">getElementMap</a> (bool isTemplate)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagerb1">createGuiElementImpl</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &typeName, const <a class="el" href="classOgre_1_1String.html">String</a> &instanceName, <a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> &elementMap)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagerb2">getGuiElementImpl</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &name, <a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> &elementMap)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagerb3">destroyGuiElementImpl</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &instanceName, <a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> &elementMap)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagerb4">destroyGuiElementImpl</a> (<a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> *pInstance, <a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> &elementMap)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagerb5">destroyAllGuiElementsImpl</a> (<a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> &elementMap)</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert0">FactoryMap</a> </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagern0">mFactories</a></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagern1">mInstances</a></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagern2">mTemplates</a></td></tr> <tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>GuiManager * </td><td valign=bottom><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1Singletonq0">ms_Singleton</a> = 0</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This class acts as a repository and regitrar of overlay components. <p> <dl compact><dt><b> Remarks: </b><dd> <a class="el" href="classOgre_1_1GuiManager.html">GuiManager</a>'s job is to manage the lifecycle of <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> (subclass) instances, and also to register plugin suppliers of new components. </dl> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8h-source.html#l00039">39</a> of file <a class="el" href="OgreGuiManager_8h-source.html">OgreGuiManager.h</a>.<hr><h2>Member Typedef Documentation</h2> <a name="Ogre_1_1GuiManagert1" doxytag="Ogre::GuiManager::ElementMap"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef std::map<<a class="el" href="classOgre_1_1String.html">String</a>, <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a>*> Ogre::GuiManager::ElementMap<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8h-source.html#l00107">107</a> of file <a class="el" href="OgreGuiManager_8h-source.html">OgreGuiManager.h</a>. </td> </tr> </table> <a name="Ogre_1_1GuiManagert0" doxytag="Ogre::GuiManager::FactoryMap"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef std::map<<a class="el" href="classOgre_1_1String.html">String</a>, <a class="el" href="classOgre_1_1GuiElementFactory.html">GuiElementFactory</a>*> Ogre::GuiManager::FactoryMap<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8h-source.html#l00104">104</a> of file <a class="el" href="OgreGuiManager_8h-source.html">OgreGuiManager.h</a>. </td> </tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1GuiManagera0" doxytag="Ogre::GuiManager::GuiManager"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::GuiManager::GuiManager </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00039">39</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1GuiManagera1" doxytag="Ogre::GuiManager::~GuiManager"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::GuiManager::~GuiManager </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00043">43</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreGuiManager_8cpp-source.html#l00183">destroyAllGuiElements</a>(). </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1GuiManagera7" doxytag="Ogre::GuiManager::addGuiElementFactory"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::GuiManager::addGuiElementFactory </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1GuiElementFactory.html">GuiElementFactory</a> * </td> <td class="mdname1" valign="top" nowrap> <em>elemFactory</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Registers a new <a class="el" href="classOgre_1_1GuiElementFactory.html">GuiElementFactory</a> with this manager. <p> <dl compact><dt><b> Remarks: </b><dd> Should be used by plugins or other apps wishing to provide a new <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> subclass. </dl> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00210">210</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="classOgre_1_1GuiElementFactory.html#Ogre_1_1GuiElementFactorya2">Ogre::GuiElementFactory::getTypeName</a>(), and <a class="el" href="OgreGuiManager_8h-source.html#l00105">mFactories</a>. </td> </tr> </table> <a name="Ogre_1_1GuiManagera2" doxytag="Ogre::GuiManager::createGuiElement"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * Ogre::GuiManager::createGuiElement </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>typeName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>instanceName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>isTemplate</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Creates a new <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> of the type requested. <p> <dl compact><dt><b> Remarks: </b><dd> The type of element to create is passed in as a string because this allows plugins to register new types of component. </dl><dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>typeName</em> </td><td> The type of element to create. </td></tr> <tr><td valign=top><em>instanceName</em> </td><td> The name to give the new instance. </td></tr> </table> </dl> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00089">89</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreGuiManager_8cpp-source.html#l00095">createGuiElementImpl</a>(), and <a class="el" href="OgreGuiManager_8cpp-source.html#l00050">getElementMap</a>(). <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00056">createGuiElementFromTemplate</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagera9" doxytag="Ogre::GuiManager::createGuiElementFromFactory"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * Ogre::GuiManager::createGuiElementFromFactory </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>typeName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>instanceName</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00116">116</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreException_8h-source.html#l00033">Except</a>, and <a class="el" href="OgreGuiManager_8h-source.html#l00105">mFactories</a>. <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00095">createGuiElementImpl</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagera8" doxytag="Ogre::GuiManager::createGuiElementFromTemplate"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * Ogre::GuiManager::createGuiElementFromTemplate </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>templateName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>typeName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>instanceName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>isTemplate</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00056">56</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreGuiManager_8cpp-source.html#l00089">createGuiElement</a>(), <a class="el" href="OgreGuiManager_8cpp-source.html#l00131">getGuiElement</a>(), and <a class="el" href="classOgre_1_1GuiElement.html#Ogre_1_1GuiElementa35">Ogre::GuiElement::getTypeName</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagerb1" doxytag="Ogre::GuiManager::createGuiElementImpl"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * Ogre::GuiManager::createGuiElementImpl </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>typeName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>instanceName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> & </td> <td class="mdname" nowrap> <em>elementMap</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00095">95</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreGuiManager_8cpp-source.html#l00116">createGuiElementFromFactory</a>(), <a class="el" href="OgreException_8h-source.html#l00033">Except</a>, and <a class="el" href="classOgre_1_1GuiElement.html#Ogre_1_1GuiElementa2">Ogre::GuiElement::initialise</a>(). <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00089">createGuiElement</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagera6" doxytag="Ogre::GuiManager::destroyAllGuiElements"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::GuiManager::destroyAllGuiElements </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>isTemplate</em> = false </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Destroys all the <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> created so far. <p> <dl compact><dt><b> Remarks: </b><dd> Best to leave this to the engine to call internally, there should rarely be a need to call it yourself. </dl> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00183">183</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreGuiManager_8cpp-source.html#l00188">destroyAllGuiElementsImpl</a>(), and <a class="el" href="OgreGuiManager_8cpp-source.html#l00050">getElementMap</a>(). <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00043">~GuiManager</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagerb5" doxytag="Ogre::GuiManager::destroyAllGuiElementsImpl"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::GuiManager::destroyAllGuiElementsImpl </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> & </td> <td class="mdname1" valign="top" nowrap> <em>elementMap</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00188">188</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreException_8h-source.html#l00033">Except</a>, and <a class="el" href="OgreGuiManager_8h-source.html#l00105">mFactories</a>. <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00183">destroyAllGuiElements</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagera5" doxytag="Ogre::GuiManager::destroyGuiElement"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::GuiManager::destroyGuiElement </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * </td> <td class="mdname" nowrap> <em>pInstance</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>isTemplate</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Destroys a <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a>. <p> <dl compact><dt><b> Remarks: </b><dd> Make sure you're not still using this in an <a class="el" href="classOgre_1_1Overlay.html">Overlay</a>. If in doubt, let OGRE destroy elements on shutdown. </dl> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00155">155</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreGuiManager_8cpp-source.html#l00161">destroyGuiElementImpl</a>(), <a class="el" href="OgreGuiManager_8cpp-source.html#l00050">getElementMap</a>(), and <a class="el" href="OgreGuiElement_8cpp-source.html#l00082">Ogre::GuiElement::getName</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagera4" doxytag="Ogre::GuiManager::destroyGuiElement"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::GuiManager::destroyGuiElement </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>instanceName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>isTemplate</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Destroys a <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a>. <p> <dl compact><dt><b> Remarks: </b><dd> Make sure you're not still using this in an <a class="el" href="classOgre_1_1Overlay.html">Overlay</a>. If in doubt, let OGRE destroy elements on shutdown. </dl> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00149">149</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreGuiManager_8cpp-source.html#l00161">destroyGuiElementImpl</a>(), and <a class="el" href="OgreGuiManager_8cpp-source.html#l00050">getElementMap</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagerb4" doxytag="Ogre::GuiManager::destroyGuiElementImpl"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::GuiManager::destroyGuiElementImpl </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * </td> <td class="mdname" nowrap> <em>pInstance</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> & </td> <td class="mdname" nowrap> <em>elementMap</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="Ogre_1_1GuiManagerb3" doxytag="Ogre::GuiManager::destroyGuiElementImpl"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::GuiManager::destroyGuiElementImpl </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>instanceName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> & </td> <td class="mdname" nowrap> <em>elementMap</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00161">161</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreException_8h-source.html#l00033">Except</a>, and <a class="el" href="OgreGuiManager_8h-source.html#l00105">mFactories</a>. <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00149">destroyGuiElement</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagerb0" doxytag="Ogre::GuiManager::getElementMap"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">GuiManager::ElementMap</a> & Ogre::GuiManager::getElementMap </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>isTemplate</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00050">50</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreGuiManager_8h-source.html#l00108">mInstances</a>, and <a class="el" href="OgreGuiManager_8h-source.html#l00109">mTemplates</a>. <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00089">createGuiElement</a>(), <a class="el" href="OgreGuiManager_8cpp-source.html#l00183">destroyAllGuiElements</a>(), <a class="el" href="OgreGuiManager_8cpp-source.html#l00149">destroyGuiElement</a>(), and <a class="el" href="OgreGuiManager_8cpp-source.html#l00131">getGuiElement</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagera3" doxytag="Ogre::GuiManager::getGuiElement"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * Ogre::GuiManager::getGuiElement </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>isTemplate</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets a reference to an existing element. <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00131">131</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreGuiManager_8cpp-source.html#l00050">getElementMap</a>(), and <a class="el" href="OgreGuiManager_8cpp-source.html#l00136">getGuiElementImpl</a>(). <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00056">createGuiElementFromTemplate</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagerb2" doxytag="Ogre::GuiManager::getGuiElementImpl"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiElement.html">GuiElement</a> * Ogre::GuiManager::getGuiElementImpl </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> & </td> <td class="mdname" nowrap> <em>elementMap</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00136">136</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. <p> References <a class="el" href="OgreException_8h-source.html#l00033">Except</a>. <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00131">getGuiElement</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagerd0" doxytag="Ogre::GuiManager::getSingleton"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GuiManager & Ogre::GuiManager::getSingleton </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Override standard <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> retrieval. <p> <dl compact><dt><b> Remarks: </b><dd> Why do we do this? Well, it's because the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a> template to work, but we actually only want it compiled into the implementation of the class based on the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a>, not all of them. If we don't change this, we get link errors when trying to use the <a class="el" href="classOgre_1_1Singleton.html">Singleton</a>-based class from an outside dll. <p> This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. </dl> <p> Reimplemented from <a class="el" href="classOgre_1_1Singleton.html#Ogre_1_1Singletond0">Ogre::Singleton< GuiManager ></a>. <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00219">219</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1Singletond1" doxytag="Ogre::GuiManager::getSingletonPtr"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GuiManager* <a class="el" href="classOgre_1_1Singleton.html">Ogre::Singleton</a>< GuiManager >::getSingletonPtr </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [static, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreSingleton_8h-source.html#l00071">71</a> of file <a class="el" href="OgreSingleton_8h-source.html">OgreSingleton.h</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1GuiManagern0" doxytag="Ogre::GuiManager::mFactories"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert0">FactoryMap</a> Ogre::GuiManager::mFactories<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8h-source.html#l00105">105</a> of file <a class="el" href="OgreGuiManager_8h-source.html">OgreGuiManager.h</a>. <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00210">addGuiElementFactory</a>(), <a class="el" href="OgreGuiManager_8cpp-source.html#l00116">createGuiElementFromFactory</a>(), <a class="el" href="OgreGuiManager_8cpp-source.html#l00188">destroyAllGuiElementsImpl</a>(), and <a class="el" href="OgreGuiManager_8cpp-source.html#l00161">destroyGuiElementImpl</a>(). </td> </tr> </table> <a name="Ogre_1_1GuiManagern1" doxytag="Ogre::GuiManager::mInstances"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> Ogre::GuiManager::mInstances<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8h-source.html#l00108">108</a> of file <a class="el" href="OgreGuiManager_8h-source.html">OgreGuiManager.h</a>. <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00050">getElementMap</a>(). </td> </tr> </table> <a name="Ogre_1_1Singletonq0" doxytag="Ogre::GuiManager::ms_Singleton"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GuiManager * <a class="el" href="classOgre_1_1Singleton.html">Ogre::Singleton</a>< GuiManager >::ms_Singleton = 0<code> [static, protected, inherited]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8cpp-source.html#l00037">37</a> of file <a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1GuiManagern2" doxytag="Ogre::GuiManager::mTemplates"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1GuiManager.html#Ogre_1_1GuiManagert1">ElementMap</a> Ogre::GuiManager::mTemplates<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGuiManager_8h-source.html#l00109">109</a> of file <a class="el" href="OgreGuiManager_8h-source.html">OgreGuiManager.h</a>. <p> Referenced by <a class="el" href="OgreGuiManager_8cpp-source.html#l00050">getElementMap</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreGuiManager_8h-source.html">OgreGuiManager.h</a><li><a class="el" href="OgreGuiManager_8cpp-source.html">OgreGuiManager.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:17:43 2004 </p> </body> </html>