diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02217.html | 719 |
1 files changed, 719 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02217.html b/docs/doxygen/nel/a02217.html new file mode 100644 index 00000000..7360456c --- /dev/null +++ b/docs/doxygen/nel/a02217.html @@ -0,0 +1,719 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::CAsyncFileManager3D class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.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">Data Structures</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">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CAsyncFileManager3D Class Reference</h1><code>#include <<a class="el" href="a05458.html">async_file_manager_3d.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +CAsyncFileManager is a class that manage file loading in a seperate thread <dl compact><dt><b>Author:</b></dt><dd>Matthieu Besson <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2002 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05458.html#l00049">49</a> of file <a class="el" href="a05458.html">async_file_manager_3d.h</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>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Da0">cancelLoadMesh</a> (const std::string &sMeshName)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Da1">cancelLoadTexture</a> (<a class="el" href="a03502.html">CTextureFile</a> *textFile)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Da2">cancelSignal</a> (bool *pSgn)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Da3">loadFile</a> (const std::string &fileName, <a class="el" href="a04558.html#a7">uint8</a> **pPtr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Da4">loadFiles</a> (const std::vector< std::string > &vFileNames, const std::vector< <a class="el" href="a04558.html#a7">uint8</a> ** > &vPtrs)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Da5">loadIG</a> (const std::string &igName, <a class="el" href="a02671.html">CInstanceGroup</a> **ppIG)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Da6">loadIGUser</a> (const std::string &igName, <a class="el" href="a02674.html">UInstanceGroup</a> **ppIG)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Da7">loadMesh</a> (const std::string &sMeshName, <a class="el" href="a02539.html">IShape</a> **ppShp, <a class="el" href="a02434.html">IDriver</a> *pDriver, const <a class="el" href="a03128.html">NLMISC::CVector</a> &position, <a class="el" href="a04558.html#a15">uint</a> textureSlot)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Da8">loadTexture</a> (<a class="el" href="a03502.html">CTextureFile</a> *textureFile, bool *pSgn, const <a class="el" href="a03128.html">NLMISC::CVector</a> &position)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Da9">signal</a> (bool *pSgn)</td></tr> + +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02217.html">CAsyncFileManager3D</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3De0">getInstance</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3De1">terminate</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Dd0">CAsyncFileManager3D</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02217.html">CAsyncFileManager3D</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Dv0">_Singleton</a> = NULL</td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Dn0">CLoadMeshCancel</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Dn1">CLoadTextureCancel</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Dd0" doxytag="NL3D::CAsyncFileManager3D::CAsyncFileManager3D" ></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"> NL3D::CAsyncFileManager3D::CAsyncFileManager3D </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> [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="a05457.html#l00053">53</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +Referenced by <a class="el" href="a05457.html#l00059">getInstance()</a>. +<p> +<div class="fragment"><pre>00054 { +00055 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Da0" doxytag="NL3D::CAsyncFileManager3D::cancelLoadMesh" ></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"> bool NL3D::CAsyncFileManager3D::cancelLoadMesh </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>sMeshName</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> + +<p> +Definition at line <a class="el" href="a05457.html#l00120">120</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +References <a class="el" href="a05458.html#l00083">CLoadMeshCancel</a>. +<p> +<div class="fragment"><pre>00121 { +00122 <span class="keywordflow">return</span> CAsyncFileManager::getInstance().cancelLoadTask(<a class="code" href="a02217.html#NL3D_1_1CAsyncFileManager3Dn0">CLoadMeshCancel</a>(sMeshName)); +00123 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Da1" doxytag="NL3D::CAsyncFileManager3D::cancelLoadTexture" ></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"> bool NL3D::CAsyncFileManager3D::cancelLoadTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03502.html">CTextureFile</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>textFile</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> + +<p> +Definition at line <a class="el" href="a05457.html#l00178">178</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +References <a class="el" href="a05458.html#l00084">CLoadTextureCancel</a>. +<p> +<div class="fragment"><pre>00179 { +00180 <span class="keywordflow">return</span> CAsyncFileManager::getInstance().cancelLoadTask(<a class="code" href="a02217.html#NL3D_1_1CAsyncFileManager3Dn1">CLoadTextureCancel</a>(textFile)); +00181 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Da2" doxytag="NL3D::CAsyncFileManager3D::cancelSignal" ></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"> void NL3D::CAsyncFileManager3D::cancelSignal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool * </td> + <td class="mdname1" valign="top" nowrap> <em>pSgn</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> + +<p> +Definition at line <a class="el" href="a05457.html#l00207">207</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +<div class="fragment"><pre>00208 { +00209 CAsyncFileManager::getInstance().cancelSignal(pSgn); +00210 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3De0" doxytag="NL3D::CAsyncFileManager3D::getInstance" ></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="a02217.html">CAsyncFileManager3D</a> & NL3D::CAsyncFileManager3D::getInstance </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> [static]</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="a05457.html#l00059">59</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +References <a class="el" href="a05457.html#l00049">_Singleton</a>, and <a class="el" href="a05457.html#l00053">CAsyncFileManager3D()</a>. +<p> +Referenced by <a class="el" href="a05457.html#l00070">terminate()</a>. +<p> +<div class="fragment"><pre>00060 { +00061 <span class="keywordflow">if</span> (<a class="code" href="a02217.html#NL3D_1_1CAsyncFileManager3Dv0">_Singleton</a> == NULL) +00062 { +00063 <a class="code" href="a02217.html#NL3D_1_1CAsyncFileManager3Dv0">_Singleton</a> = <span class="keyword">new</span> <a class="code" href="a02217.html#NL3D_1_1CAsyncFileManager3Dd0">CAsyncFileManager3D</a>(); +00064 } +00065 <span class="keywordflow">return</span> *<a class="code" href="a02217.html#NL3D_1_1CAsyncFileManager3Dv0">_Singleton</a>; +00066 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Da3" doxytag="NL3D::CAsyncFileManager3D::loadFile" ></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"> void NL3D::CAsyncFileManager3D::loadFile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>fileName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> ** </td> + <td class="mdname" nowrap> <em>pPtr</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="a05457.html#l00186">186</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00187 { +00188 CAsyncFileManager::getInstance().loadFile (sFileName, ppFile); +00189 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Da4" doxytag="NL3D::CAsyncFileManager3D::loadFiles" ></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"> void NL3D::CAsyncFileManager3D::loadFiles </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::vector< std::string > & </td> + <td class="mdname" nowrap> <em>vFileNames</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::vector< <a class="el" href="a04558.html#a7">uint8</a> ** > & </td> + <td class="mdname" nowrap> <em>vPtrs</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="a05457.html#l00193">193</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +<div class="fragment"><pre>00194 { +00195 CAsyncFileManager::getInstance().loadFiles (vFileNames, vPtrs); +00196 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Da5" doxytag="NL3D::CAsyncFileManager3D::loadIG" ></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"> void NL3D::CAsyncFileManager3D::loadIG </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>igName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02671.html">CInstanceGroup</a> ** </td> + <td class="mdname" nowrap> <em>ppIG</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="a05457.html#l00127">127</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +<div class="fragment"><pre>00128 { +00129 CAsyncFileManager::getInstance().addLoadTask(<span class="keyword">new</span> CIGLoad(IGName, ppIG)); +00130 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Da6" doxytag="NL3D::CAsyncFileManager3D::loadIGUser" ></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"> void NL3D::CAsyncFileManager3D::loadIGUser </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>igName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02674.html">UInstanceGroup</a> ** </td> + <td class="mdname" nowrap> <em>ppIG</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="a05457.html#l00134">134</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +<div class="fragment"><pre>00135 { +00136 CAsyncFileManager::getInstance().addLoadTask (<span class="keyword">new</span> CIGLoadUser(IGName, ppIG)); +00137 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Da7" doxytag="NL3D::CAsyncFileManager3D::loadMesh" ></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"> void NL3D::CAsyncFileManager3D::loadMesh </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>sMeshName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02539.html">IShape</a> ** </td> + <td class="mdname" nowrap> <em>ppShp</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02434.html">IDriver</a> * </td> + <td class="mdname" nowrap> <em>pDriver</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03128.html">NLMISC::CVector</a> & </td> + <td class="mdname" nowrap> <em>position</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>textureSlot</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="a05457.html#l00081">81</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +References <a class="el" href="a05622.html#l00135">nlwarning</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00082 { +00083 <span class="keywordflow">if</span> (meshName.empty()) +00084 <a class="code" href="a04199.html#a2">nlwarning</a> (<span class="stringliteral">"Can't load an empty filename"</span>); +00085 CAsyncFileManager::getInstance().addLoadTask(<span class="keyword">new</span> CMeshLoad(meshName, ppShp, pDriver, position, textureSlot)); +00086 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Da8" doxytag="NL3D::CAsyncFileManager3D::loadTexture" ></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"> void NL3D::CAsyncFileManager3D::loadTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03502.html">CTextureFile</a> * </td> + <td class="mdname" nowrap> <em>textureFile</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>pSgn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03128.html">NLMISC::CVector</a> & </td> + <td class="mdname" nowrap> <em>position</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="a05457.html#l00140">140</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00141 { +00142 <a class="code" href="a04199.html#a6">nlassert</a>(textureFile && pSgn); +00143 CAsyncFileManager::getInstance().addLoadTask(<span class="keyword">new</span> CTextureLoad(textureFile, pSgn, position)); +00144 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Da9" doxytag="NL3D::CAsyncFileManager3D::signal" ></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"> void NL3D::CAsyncFileManager3D::signal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool * </td> + <td class="mdname1" valign="top" nowrap> <em>pSgn</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> + +<p> +Definition at line <a class="el" href="a05457.html#l00200">200</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +<div class="fragment"><pre>00201 { +00202 CAsyncFileManager::getInstance().signal(pSgn); +00203 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3De1" doxytag="NL3D::CAsyncFileManager3D::terminate" ></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"> void NL3D::CAsyncFileManager3D::terminate </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> [static]</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="a05457.html#l00070">70</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +References <a class="el" href="a05457.html#l00049">_Singleton</a>, and <a class="el" href="a05457.html#l00059">getInstance()</a>. +<p> +<div class="fragment"><pre>00071 { +00072 <span class="keywordflow">if</span> (<a class="code" href="a02217.html#NL3D_1_1CAsyncFileManager3Dv0">_Singleton</a> != NULL) +00073 { +00074 <span class="keyword">delete</span> &<a class="code" href="a02217.html#NL3D_1_1CAsyncFileManager3De0">getInstance</a>(); +00075 <a class="code" href="a02217.html#NL3D_1_1CAsyncFileManager3Dv0">_Singleton</a> = NULL; +00076 } +00077 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Dn0" doxytag="NL3D::CAsyncFileManager3D::CLoadMeshCancel" ></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"> friend class <a class="el" href="a02778.html">CLoadMeshCancel</a><code> [friend]</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="a05458.html#l00083">83</a> of file <a class="el" href="a05458.html">async_file_manager_3d.h</a>. +<p> +Referenced by <a class="el" href="a05457.html#l00120">cancelLoadMesh()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Dn1" doxytag="NL3D::CAsyncFileManager3D::CLoadTextureCancel" ></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"> friend class <a class="el" href="a02781.html">CLoadTextureCancel</a><code> [friend]</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="a05458.html#l00084">84</a> of file <a class="el" href="a05458.html">async_file_manager_3d.h</a>. +<p> +Referenced by <a class="el" href="a05457.html#l00178">cancelLoadTexture()</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CAsyncFileManager3Dv0" doxytag="NL3D::CAsyncFileManager3D::_Singleton" ></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="a02217.html">CAsyncFileManager3D</a> * <a class="el" href="a02217.html#NL3D_1_1CAsyncFileManager3Dv0">NL3D::CAsyncFileManager3D::_Singleton</a> = NULL<code> [static, 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="a05457.html#l00049">49</a> of file <a class="el" href="a05457.html">async_file_manager_3d.cpp</a>. +<p> +Referenced by <a class="el" href="a05457.html#l00059">getInstance()</a>, and <a class="el" href="a05457.html#l00070">terminate()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05458.html">async_file_manager_3d.h</a><li><a class="el" href="a05457.html">async_file_manager_3d.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:44:30 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |