<html> <head> <title>Ogre::DDDriverList 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::DDDriverList Class Reference</h1>Encapsulates enumeration of DirectDraw drivers. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreDDDriverList_8h-source.html">OgreDDDriverList.h</a>></code> <p> <a href="classOgre_1_1DDDriverList-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_1DDDriverList.html#Ogre_1_1DDDriverLista0">DDDriverList</a> ()</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1DDDriverList.html#Ogre_1_1DDDriverLista1">~DDDriverList</a> ()</td></tr> <tr><td nowrap align=right valign=top>BOOL </td><td valign=bottom><a class="el" href="classOgre_1_1DDDriverList.html#Ogre_1_1DDDriverLista2">enumerate</a> (void)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1DDDriver.html">DDDriver</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1DDDriverList.html#Ogre_1_1DDDriverLista3">item</a> (size_t index)</td></tr> <tr><td> </td><td><font size=-1><em>Returns the item at the specified position.</em> <a href="#Ogre_1_1DDDriverLista3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>size_t </td><td valign=bottom><a class="el" href="classOgre_1_1DDDriverList.html#Ogre_1_1DDDriverLista4">count</a> (void) const</td></tr> <tr><td colspan=2><br><h2>Private Methods</h2></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1DDDriverList.html#Ogre_1_1DDDriverListc0">AddDriver</a> (GUID FAR *lpGuid, LPSTR lpDriverDesc, LPSTR lpDriverName)</td></tr> <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classOgre_1_1DDDriver.html">DDDriver</a> > </td><td valign=bottom><a class="el" href="classOgre_1_1DDDriverList.html#Ogre_1_1DDDriverListo0">mDriverList</a></td></tr> <tr><td colspan=2><br><h2>Friends</h2></td></tr> <tr><td nowrap align=right valign=top>BOOL WINAPI </td><td valign=bottom><a class="el" href="classOgre_1_1DDDriverList.html#Ogre_1_1DDDriverListl0">DDEnumCallbackEx</a> (GUID FAR *lpGUID, LPSTR lpDriverDescription, LPSTR lpDriverName, LPVOID lpContext, HMONITOR hm)</td></tr> <tr><td nowrap align=right valign=top>BOOL WINAPI </td><td valign=bottom><a class="el" href="classOgre_1_1DDDriverList.html#Ogre_1_1DDDriverListl1">DDEnumCallback</a> (GUID FAR *lpGUID, LPSTR lpDriverDescription, LPSTR lpDriverName, LPVOID lpContext)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Encapsulates enumeration of DirectDraw drivers. <p> Utility class for <a class="el" href="classOgre_1_1D3DRenderSystem.html">D3DRenderSystem</a>. <p> <p> Definition at line <a class="el" href="OgreDDDriverList_8h-source.html#l00035">35</a> of file <a class="el" href="OgreDDDriverList_8h-source.html">OgreDDDriverList.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1DDDriverLista0" doxytag="Ogre::DDDriverList::DDDriverList"></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::DDDriverList::DDDriverList </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="OgreDDDriverList_8cpp-source.html#l00060">60</a> of file <a class="el" href="OgreDDDriverList_8cpp-source.html">OgreDDDriverList.cpp</a>. <p> References <a class="el" href="OgreDDDriverList_8cpp-source.html#l00080">enumerate</a>(). </td> </tr> </table> <a name="Ogre_1_1DDDriverLista1" doxytag="Ogre::DDDriverList::~DDDriverList"></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::DDDriverList::~DDDriverList </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="OgreDDDriverList_8cpp-source.html#l00070">70</a> of file <a class="el" href="OgreDDDriverList_8cpp-source.html">OgreDDDriverList.cpp</a>. <p> References <a class="el" href="OgreDDDriver_8cpp-source.html#l00364">Ogre::DDDriver::Cleanup</a>(), <a class="el" href="OgreDDDriverList_8cpp-source.html#l00137">count</a>(), <a class="el" href="OgreDDDriverList_8cpp-source.html#l00142">item</a>(), and <a class="el" href="OgreDDDriverList_8h-source.html#l00040">mDriverList</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1DDDriverListc0" doxytag="Ogre::DDDriverList::AddDriver"></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::DDDriverList::AddDriver </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">GUID FAR * </td> <td class="mdname" nowrap> <em>lpGuid</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>LPSTR </td> <td class="mdname" nowrap> <em>lpDriverDesc</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>LPSTR </td> <td class="mdname" nowrap> <em>lpDriverName</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [private]</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="OgreDDDriverList_8cpp-source.html#l00127">127</a> of file <a class="el" href="OgreDDDriverList_8cpp-source.html">OgreDDDriverList.cpp</a>. <p> References <a class="el" href="namespaceOgre.html#a635a316">Ogre::LML_NORMAL</a>, and <a class="el" href="OgreDDDriverList_8h-source.html#l00040">mDriverList</a>. <p> Referenced by <a class="el" href="OgreDDDriverList_8cpp-source.html#l00034">Ogre::DDEnumCallbackEx</a>(). </td> </tr> </table> <a name="Ogre_1_1DDDriverLista4" doxytag="Ogre::DDDriverList::count"></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"> size_t Ogre::DDDriverList::count </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> const</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="OgreDDDriverList_8cpp-source.html#l00137">137</a> of file <a class="el" href="OgreDDDriverList_8cpp-source.html">OgreDDDriverList.cpp</a>. <p> References <a class="el" href="OgreDDDriverList_8h-source.html#l00040">mDriverList</a>. <p> Referenced by <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00108">Ogre::D3DRenderSystem::initConfigOptions</a>(), <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00323">Ogre::D3DRenderSystem::initialise</a>(), <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00178">Ogre::D3DRenderSystem::refreshDDSettings</a>(), <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00287">Ogre::D3DRenderSystem::validateConfigOptions</a>(), and <a class="el" href="OgreDDDriverList_8cpp-source.html#l00070">~DDDriverList</a>(). </td> </tr> </table> <a name="Ogre_1_1DDDriverLista2" doxytag="Ogre::DDDriverList::enumerate"></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"> BOOL Ogre::DDDriverList::enumerate </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></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="OgreDDDriverList_8cpp-source.html#l00080">80</a> of file <a class="el" href="OgreDDDriverList_8cpp-source.html">OgreDDDriverList.cpp</a>. <p> References <a class="el" href="OgreDDDriverList_8cpp-source.html#l00052">DDEnumCallback</a>, and <a class="el" href="OgreDDDriverList_8cpp-source.html#l00034">DDEnumCallbackEx</a>. <p> Referenced by <a class="el" href="OgreDDDriverList_8cpp-source.html#l00060">DDDriverList</a>(). </td> </tr> </table> <a name="Ogre_1_1DDDriverLista3" doxytag="Ogre::DDDriverList::item"></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_1DDDriver.html">DDDriver</a> * Ogre::DDDriverList::item </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">size_t </td> <td class="mdname1" valign="top" nowrap> <em>index</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> Returns the item at the specified position. <p> Throws an std::out_of_range if the index is greater then the size. <p> Definition at line <a class="el" href="OgreDDDriverList_8cpp-source.html#l00142">142</a> of file <a class="el" href="OgreDDDriverList_8cpp-source.html">OgreDDDriverList.cpp</a>. <p> References <a class="el" href="OgreDDDriverList_8h-source.html#l00040">mDriverList</a>. <p> Referenced by <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00108">Ogre::D3DRenderSystem::initConfigOptions</a>(), <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00323">Ogre::D3DRenderSystem::initialise</a>(), <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00178">Ogre::D3DRenderSystem::refreshDDSettings</a>(), <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00287">Ogre::D3DRenderSystem::validateConfigOptions</a>(), and <a class="el" href="OgreDDDriverList_8cpp-source.html#l00070">~DDDriverList</a>(). </td> </tr> </table> <hr><h2>Friends And Related Function Documentation</h2> <a name="Ogre_1_1DDDriverListl1" doxytag="Ogre::DDDriverList::DDEnumCallback"></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"> BOOL WINAPI DDEnumCallback </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">GUID FAR * </td> <td class="mdname" nowrap> <em>lpGUID</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>LPSTR </td> <td class="mdname" nowrap> <em>lpDriverDescription</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>LPSTR </td> <td class="mdname" nowrap> <em>lpDriverName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>LPVOID </td> <td class="mdname" nowrap> <em>lpContext</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [friend]</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="OgreDDDriverList_8cpp-source.html#l00052">52</a> of file <a class="el" href="OgreDDDriverList_8cpp-source.html">OgreDDDriverList.cpp</a>. <p> Referenced by <a class="el" href="OgreDDDriverList_8cpp-source.html#l00080">enumerate</a>(). </td> </tr> </table> <a name="Ogre_1_1DDDriverListl0" doxytag="Ogre::DDDriverList::DDEnumCallbackEx"></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"> BOOL WINAPI DDEnumCallbackEx </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">GUID FAR * </td> <td class="mdname" nowrap> <em>lpGUID</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>LPSTR </td> <td class="mdname" nowrap> <em>lpDriverDescription</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>LPSTR </td> <td class="mdname" nowrap> <em>lpDriverName</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>LPVOID </td> <td class="mdname" nowrap> <em>lpContext</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>HMONITOR </td> <td class="mdname" nowrap> <em>hm</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [friend]</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="OgreDDDriverList_8cpp-source.html#l00034">34</a> of file <a class="el" href="OgreDDDriverList_8cpp-source.html">OgreDDDriverList.cpp</a>. <p> Referenced by <a class="el" href="OgreDDDriverList_8cpp-source.html#l00080">enumerate</a>(). </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1DDDriverListo0" doxytag="Ogre::DDDriverList::mDriverList"></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"> std::vector<<a class="el" href="classOgre_1_1DDDriver.html">DDDriver</a>> Ogre::DDDriverList::mDriverList<code> [private]</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="OgreDDDriverList_8h-source.html#l00040">40</a> of file <a class="el" href="OgreDDDriverList_8h-source.html">OgreDDDriverList.h</a>. <p> Referenced by <a class="el" href="OgreDDDriverList_8cpp-source.html#l00127">AddDriver</a>(), <a class="el" href="OgreDDDriverList_8cpp-source.html#l00137">count</a>(), <a class="el" href="OgreDDDriverList_8cpp-source.html#l00142">item</a>(), and <a class="el" href="OgreDDDriverList_8cpp-source.html#l00070">~DDDriverList</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreDDDriverList_8h-source.html">OgreDDDriverList.h</a><li><a class="el" href="OgreDDDriverList_8cpp-source.html">OgreDDDriverList.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:12:29 2004 </p> </body> </html>