1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::ResourceBackgroundQueueListener 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 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> |
---|
10 | <h1>Ogre::ResourceBackgroundQueueListener Class Reference</h1>This abstract listener interface lets you get immediate notifications of completed background processes instead of having to check ticket statuses. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreResourceBackgroundQueue_8h-source.html">OgreResourceBackgroundQueue.h</a>></code> |
---|
14 | <p> |
---|
15 | <a href="classOgre_1_1ResourceBackgroundQueueListener-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
16 | <tr><td></td></tr> |
---|
17 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
18 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ResourceBackgroundQueueListener.html#Ogre_1_1ResourceBackgroundQueueListenera0">operationCompleted</a> (<a class="el" href="namespaceOgre.html#a487">BackgroundProcessTicket</a> ticket)=0</td></tr> |
---|
19 | |
---|
20 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Called when a requested operation completes. <a href="#Ogre_1_1ResourceBackgroundQueueListenera0"></a><br><br></td></tr> |
---|
21 | </table> |
---|
22 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
23 | This abstract listener interface lets you get immediate notifications of completed background processes instead of having to check ticket statuses. |
---|
24 | <p> |
---|
25 | <dl compact><dt><b>Note:</b></dt><dd>These callbacks occur in the <em>background thread</em>, not the thread which you queued your request from. You should only use this method if you understand the implications of threading and the use of locks, monitor objects or other such thread safety techniques. If you don't, use the simpler 'ticket' approach and poll the isProcessComplete() method to determine when your processes complete.</dd></dl> |
---|
26 | |
---|
27 | <p> |
---|
28 | |
---|
29 | <p> |
---|
30 | Definition at line <a class="el" href="OgreResourceBackgroundQueue_8h-source.html#l00055">55</a> of file <a class="el" href="OgreResourceBackgroundQueue_8h-source.html">OgreResourceBackgroundQueue.h</a>.<hr><h2>Member Function Documentation</h2> |
---|
31 | <a class="anchor" name="Ogre_1_1ResourceBackgroundQueueListenera0" doxytag="Ogre::ResourceBackgroundQueueListener::operationCompleted" ></a><p> |
---|
32 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
33 | <tr> |
---|
34 | <td class="mdRow"> |
---|
35 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
36 | <tr> |
---|
37 | <td class="md" nowrap valign="top"> virtual void Ogre::ResourceBackgroundQueueListener::operationCompleted </td> |
---|
38 | <td class="md" valign="top">( </td> |
---|
39 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a487">BackgroundProcessTicket</a> </td> |
---|
40 | <td class="mdname1" valign="top" nowrap> <em>ticket</em> </td> |
---|
41 | <td class="md" valign="top"> ) </td> |
---|
42 | <td class="md" nowrap><code> [pure virtual]</code></td> |
---|
43 | </tr> |
---|
44 | |
---|
45 | </table> |
---|
46 | </td> |
---|
47 | </tr> |
---|
48 | </table> |
---|
49 | <table cellspacing=5 cellpadding=0 border=0> |
---|
50 | <tr> |
---|
51 | <td> |
---|
52 | |
---|
53 | </td> |
---|
54 | <td> |
---|
55 | |
---|
56 | <p> |
---|
57 | Called when a requested operation completes. |
---|
58 | <p> |
---|
59 | <dl compact><dt><b>Note:</b></dt><dd>Called in the <em>background thread</em>, not your queueing thread, so be careful!</dd></dl> |
---|
60 | </td> |
---|
61 | </tr> |
---|
62 | </table> |
---|
63 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
64 | <li><a class="el" href="OgreResourceBackgroundQueue_8h-source.html">OgreResourceBackgroundQueue.h</a></ul> |
---|
65 | <hr> |
---|
66 | <p> |
---|
67 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
68 | <!--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/> |
---|
69 | This 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/> |
---|
70 | <!--/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#"> |
---|
71 | <Work rdf:about=""> |
---|
72 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
73 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
74 | </Work> |
---|
75 | <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> --> |
---|
76 | |
---|
77 | Last modified Sun Feb 12 13:02:47 2006 |
---|
78 | </p> |
---|
79 | </body> |
---|
80 | </html> |
---|