<html> <head> <title>Ogre::Profile 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.3.6 --> <div class="qindex"><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">Class 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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> <h1>Ogre::Profile Class Reference</h1>An individual profile that will be processed by the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a>. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>></code> <p> <a href="classOgre_1_1Profile-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profile.html#Ogre_1_1Profilea0">Profile</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &profileName)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profile.html#Ogre_1_1Profilea1">~Profile</a> ()</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Profile.html#Ogre_1_1Profilep0">mName</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The name of this profile. <a href="#Ogre_1_1Profilep0"></a><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> An individual profile that will be processed by the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a>. <p> <dl compact><dt><b>Remarks:</b></dt><dd>Use the macro <a class="el" href="OgreProfiler_8h.html#a0">OgreProfile(name)</a> instead of instantiating this profile directly <p> We use this <a class="el" href="classOgre_1_1Profile.html">Profile</a> to allow scoping rules to signify the beginning and end of the profile. Use the <a class="el" href="classOgre_1_1Profiler.html">Profiler</a> singleton (through the macro <a class="el" href="OgreProfiler_8h.html#a1">OgreProfileBegin(name)</a> and <a class="el" href="OgreProfiler_8h.html#a2">OgreProfileEnd(name)</a>) directly if you want a profile to last outside of a scope (ie the main game loop). </dd></dl> <dl compact><dt><b>Author:</b></dt><dd>Amit Mathew (amitmathew (at) yahoo (dot) com) </dd></dl> <p> <p> Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00074">74</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="Ogre_1_1Profilea0" doxytag="Ogre::Profile::Profile" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::Profile::Profile </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> & </td> <td class="mdname1" valign="top" nowrap> <em>profileName</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> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Profilea1" doxytag="Ogre::Profile::~Profile" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::Profile::~<a class="el" href="classOgre_1_1Profile.html">Profile</a> </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> </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="Ogre_1_1Profilep0" doxytag="Ogre::Profile::mName" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1Profile.html#Ogre_1_1Profilep0">Ogre::Profile::mName</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The name of this profile. <p> <p> Definition at line <a class="el" href="OgreProfiler_8h-source.html#l00083">83</a> of file <a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="OgreProfiler_8h-source.html">OgreProfiler.h</a></ul> <p> Copyright © 2000-2005 by The OGRE Team<br /> Last modified Wed Feb 23 00:22:01 2005 </p> </body> </html>