source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1FrameListener.html @ 657

Revision 657, 10.3 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::FrameListener class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>Ogre::FrameListener Class Reference</h1>A interface class defining a listener which can be used to receive notifications of frame events. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreFrameListener_8h-source.html">OgreFrameListener.h</a>&gt;</code>
14<p>
15<p>Inheritance diagram for Ogre::FrameListener:
16<p><center><img src="classOgre_1_1FrameListener.png" usemap="#Ogre::FrameListener_map" border="0" alt=""></center>
17<map name="Ogre::FrameListener_map">
18<area href="classOgre_1_1EventProcessor.html" alt="Ogre::EventProcessor" shape="rect" coords="0,56,198,80">
19<area href="classOgre_1_1FrameTimeControllerValue.html" alt="Ogre::FrameTimeControllerValue" shape="rect" coords="208,56,406,80">
20<area href="classOgre_1_1ParticleSystemManager.html" alt="Ogre::ParticleSystemManager" shape="rect" coords="416,56,614,80">
21</map>
22<a href="classOgre_1_1FrameListener-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
23<tr><td></td></tr>
24<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
25<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FrameListener.html#Ogre_1_1FrameListenera0">frameStarted</a> (const <a class="el" href="structOgre_1_1FrameEvent.html">FrameEvent</a> &amp;evt)</td></tr>
26
27<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when a frame is about to begin rendering.  <a href="#Ogre_1_1FrameListenera0"></a><br><br></td></tr>
28<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FrameListener.html#Ogre_1_1FrameListenera1">frameEnded</a> (const <a class="el" href="structOgre_1_1FrameEvent.html">FrameEvent</a> &amp;evt)</td></tr>
29
30<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called just after a frame has been rendered.  <a href="#Ogre_1_1FrameListenera1"></a><br><br></td></tr>
31<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1FrameListener.html#Ogre_1_1FrameListenera2">~FrameListener</a> ()</td></tr>
32
33</table>
34<hr><a name="_details"></a><h2>Detailed Description</h2>
35A interface class defining a listener which can be used to receive notifications of frame events.
36<p>
37<dl compact><dt><b>Remarks:</b></dt><dd>A 'listener' is an interface designed to be called back when particular events are called. This class defines the interface relating to frame events. In order to receive notifications of frame events, you should create a subclass of <a class="el" href="classOgre_1_1FrameListener.html">FrameListener</a> and override the methods for which you would like to customise the resulting processing. You should then call <a class="el" href="classOgre_1_1Root.html#Ogre_1_1Roota15">Root::addFrameListener</a> passing an instance of this class. There is no limit to the number of frame listeners you can register, allowing you to register multiple listeners for different purposes. Frame events only occur when <a class="el" href="namespaceOgre.html">Ogre</a> is in continuous rendering mode, ie. after <a class="el" href="classOgre_1_1Root.html#Ogre_1_1Roota18">Root::startRendering</a> is called. If the application is doing ad-hoc rendering without entering a rendering loop, frame events are not generated. Note that a frame event occurs once for all rendering targets, not once per target. </dd></dl>
38
39<p>
40
41<p>
42Definition at line <a class="el" href="OgreFrameListener_8h-source.html#l00073">73</a> of file <a class="el" href="OgreFrameListener_8h-source.html">OgreFrameListener.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
43<a class="anchor" name="Ogre_1_1FrameListenera2" doxytag="Ogre::FrameListener::~FrameListener" ></a><p>
44<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
45  <tr>
46    <td class="mdRow">
47      <table cellpadding="0" cellspacing="0" border="0">
48        <tr>
49          <td class="md" nowrap valign="top"> virtual Ogre::FrameListener::~<a class="el" href="classOgre_1_1FrameListener.html">FrameListener</a> </td>
50          <td class="md" valign="top">(&nbsp;</td>
51          <td class="mdname1" valign="top" nowrap>          </td>
52          <td class="md" valign="top">&nbsp;)&nbsp;</td>
53          <td class="md" nowrap><code> [virtual]</code></td>
54        </tr>
55
56      </table>
57    </td>
58  </tr>
59</table>
60<table cellspacing=5 cellpadding=0 border=0>
61  <tr>
62    <td>
63      &nbsp;
64    </td>
65    <td>
66
67<p>
68
69<p>
70Definition at line <a class="el" href="OgreFrameListener_8h-source.html#l00097">97</a> of file <a class="el" href="OgreFrameListener_8h-source.html">OgreFrameListener.h</a>.    </td>
71  </tr>
72</table>
73<hr><h2>Member Function Documentation</h2>
74<a class="anchor" name="Ogre_1_1FrameListenera1" doxytag="Ogre::FrameListener::frameEnded" ></a><p>
75<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
76  <tr>
77    <td class="mdRow">
78      <table cellpadding="0" cellspacing="0" border="0">
79        <tr>
80          <td class="md" nowrap valign="top"> virtual bool Ogre::FrameListener::frameEnded </td>
81          <td class="md" valign="top">(&nbsp;</td>
82          <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1FrameEvent.html">FrameEvent</a> &amp;&nbsp;</td>
83          <td class="mdname1" valign="top" nowrap> <em>evt</em>          </td>
84          <td class="md" valign="top">&nbsp;)&nbsp;</td>
85          <td class="md" nowrap><code> [virtual]</code></td>
86        </tr>
87
88      </table>
89    </td>
90  </tr>
91</table>
92<table cellspacing=5 cellpadding=0 border=0>
93  <tr>
94    <td>
95      &nbsp;
96    </td>
97    <td>
98
99<p>
100Called just after a frame has been rendered.
101<p>
102<dl compact><dt><b>Returns:</b></dt><dd>True to continue with the next frame, false to drop out of the rendering loop. </dd></dl>
103
104<p>
105Reimplemented in <a class="el" href="classOgre_1_1ParticleSystemManager.html#Ogre_1_1ParticleSystemManagera20">Ogre::ParticleSystemManager</a>, and <a class="el" href="classOgre_1_1FrameTimeControllerValue.html#Ogre_1_1FrameTimeControllerValuea1">Ogre::FrameTimeControllerValue</a>.
106<p>
107Definition at line <a class="el" href="OgreFrameListener_8h-source.html#l00095">95</a> of file <a class="el" href="OgreFrameListener_8h-source.html">OgreFrameListener.h</a>.    </td>
108  </tr>
109</table>
110<a class="anchor" name="Ogre_1_1FrameListenera0" doxytag="Ogre::FrameListener::frameStarted" ></a><p>
111<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
112  <tr>
113    <td class="mdRow">
114      <table cellpadding="0" cellspacing="0" border="0">
115        <tr>
116          <td class="md" nowrap valign="top"> virtual bool Ogre::FrameListener::frameStarted </td>
117          <td class="md" valign="top">(&nbsp;</td>
118          <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1FrameEvent.html">FrameEvent</a> &amp;&nbsp;</td>
119          <td class="mdname1" valign="top" nowrap> <em>evt</em>          </td>
120          <td class="md" valign="top">&nbsp;)&nbsp;</td>
121          <td class="md" nowrap><code> [virtual]</code></td>
122        </tr>
123
124      </table>
125    </td>
126  </tr>
127</table>
128<table cellspacing=5 cellpadding=0 border=0>
129  <tr>
130    <td>
131      &nbsp;
132    </td>
133    <td>
134
135<p>
136Called when a frame is about to begin rendering.
137<p>
138<dl compact><dt><b>Returns:</b></dt><dd>True to go ahead, false to abort rendering and drop out of the rendering loop. </dd></dl>
139
140<p>
141Reimplemented in <a class="el" href="classOgre_1_1EventProcessor.html#Ogre_1_1EventProcessora10">Ogre::EventProcessor</a>, <a class="el" href="classOgre_1_1ParticleSystemManager.html#Ogre_1_1ParticleSystemManagera19">Ogre::ParticleSystemManager</a>, and <a class="el" href="classOgre_1_1FrameTimeControllerValue.html#Ogre_1_1FrameTimeControllerValuea2">Ogre::FrameTimeControllerValue</a>.
142<p>
143Definition at line <a class="el" href="OgreFrameListener_8h-source.html#l00089">89</a> of file <a class="el" href="OgreFrameListener_8h-source.html">OgreFrameListener.h</a>.    </td>
144  </tr>
145</table>
146<hr>The documentation for this class was generated from the following file:<ul>
147<li><a class="el" href="OgreFrameListener_8h-source.html">OgreFrameListener.h</a></ul>
148<hr>
149<p>
150Copyright &copy; 2000-2005 by The OGRE Team<br />
151<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
152This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
153                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
154                <Work rdf:about="">
155                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
156        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
157                </Work>
158                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
159
160Last modified Sun Feb 12 13:00:31 2006
161</p>
162</body>
163</html>
Note: See TracBrowser for help on using the repository browser.