aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/classphysx_1_1PxCpuDispatcher.html
diff options
context:
space:
mode:
authorgit perforce import user <a@b>2016-10-25 12:29:14 -0600
committerSheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees>2016-10-25 18:56:37 -0500
commit3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch)
treefa6485c169e50d7415a651bf838f5bcd0fd3bfbd /PhysX_3.4/Documentation/PhysXAPI/files/classphysx_1_1PxCpuDispatcher.html
downloadphysx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.tar.xz
physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.zip
Initial commit:
PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167]
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classphysx_1_1PxCpuDispatcher.html')
-rw-r--r--PhysX_3.4/Documentation/PhysXAPI/files/classphysx_1_1PxCpuDispatcher.html128
1 files changed, 128 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classphysx_1_1PxCpuDispatcher.html b/PhysX_3.4/Documentation/PhysXAPI/files/classphysx_1_1PxCpuDispatcher.html
new file mode 100644
index 00000000..3ac154ed
--- /dev/null
+++ b/PhysX_3.4/Documentation/PhysXAPI/files/classphysx_1_1PxCpuDispatcher.html
@@ -0,0 +1,128 @@
+<html>
+ <head>
+ <title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: physx::PxCpuDispatcher Class Reference</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
+ </head>
+
+ <body bgcolor="#FFFFFF">
+ <div id="header">
+ <hr class="first">
+ <img alt="" src="images/PhysXlogo.png" align="middle"> <br>
+ <center>
+ <a class="qindex" href="main.html">Main Page</a> &nbsp;
+ <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp;
+ <a class="qindex" href="annotated.html">Compound List</a> &nbsp;
+ <a class="qindex" href="functions.html">Compound Members</a> &nbsp;
+ </center>
+ <hr class="second">
+ </div>
+<!-- Generated by Doxygen 1.5.8 -->
+ <div class="navpath"><a class="el" href="namespacephysx.html">physx</a>::<a class="el" href="classphysx_1_1PxCpuDispatcher.html">PxCpuDispatcher</a>
+ </div>
+<div class="contents">
+<h1>physx::PxCpuDispatcher Class Reference</h1><!-- doxytag: class="physx::PxCpuDispatcher" -->A CpuDispatcher is responsible for scheduling the execution of tasks passed to it by the SDK.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="PxCpuDispatcher_8h-source.html">PxCpuDispatcher.h</a>&gt;</code>
+<p>
+
+<p>
+<a href="classphysx_1_1PxCpuDispatcher-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">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classphysx_1_1PxCpuDispatcher.html#0030e67bed850b70d6725775e5c3ce3c">submitTask</a> (<a class="el" href="classphysx_1_1PxBaseTask.html">PxBaseTask</a> &amp;task)=0</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called by the TaskManager when a task is to be queued for execution. <a href="#0030e67bed850b70d6725775e5c3ce3c"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classphysx_1_1PxCpuDispatcher.html#55b03b2db9de4be06f5eace3e43f4ebc">getWorkerCount</a> () const =0</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of available worker threads for this dispatcher. <a href="#55b03b2db9de4be06f5eace3e43f4ebc"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classphysx_1_1PxCpuDispatcher.html#973d20d06b2a14c05facd7b644c78088">~PxCpuDispatcher</a> ()</td></tr>
+
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A CpuDispatcher is responsible for scheduling the execution of tasks passed to it by the SDK.
+<p>
+A typical implementation would for example use a thread pool with the dispatcher pushing tasks onto worker thread queues or a global queue.<p>
+<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classphysx_1_1PxBaseTask.html" title="Base class of all task types.">PxBaseTask</a> <p>
+<a class="el" href="classphysx_1_1PxTask.html" title="A PxBaseTask implementation with deferred execution and full dependencies.">PxTask</a> <p>
+<a class="el" href="classphysx_1_1PxTaskManager.html" title="The PxTaskManager interface.">PxTaskManager</a> </dd></dl>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="973d20d06b2a14c05facd7b644c78088"></a><!-- doxytag: member="physx::PxCpuDispatcher::~PxCpuDispatcher" ref="973d20d06b2a14c05facd7b644c78088" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">virtual physx::PxCpuDispatcher::~PxCpuDispatcher </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [inline, virtual]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="55b03b2db9de4be06f5eace3e43f4ebc"></a><!-- doxytag: member="physx::PxCpuDispatcher::getWorkerCount" ref="55b03b2db9de4be06f5eace3e43f4ebc" args="() const =0" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">virtual uint32_t physx::PxCpuDispatcher::getWorkerCount </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td> const<code> [pure virtual]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Returns the number of available worker threads for this dispatcher.
+<p>
+The SDK will use this count to control how many tasks are submitted. By matching the number of tasks with the number of execution units task overhead can be reduced.
+</div>
+</div><p>
+<a class="anchor" name="0030e67bed850b70d6725775e5c3ce3c"></a><!-- doxytag: member="physx::PxCpuDispatcher::submitTask" ref="0030e67bed850b70d6725775e5c3ce3c" args="(PxBaseTask &amp;task)=0" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">virtual void physx::PxCpuDispatcher::submitTask </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classphysx_1_1PxBaseTask.html">PxBaseTask</a> &amp;&nbsp;</td>
+ <td class="paramname"> <em>task</em> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [pure virtual]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Called by the TaskManager when a task is to be queued for execution.
+<p>
+Upon receiving a task, the dispatcher should schedule the task to run when resource is available. After the task has been run, it should call the release() method and discard it's pointer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>task</em>&nbsp;</td><td>The task to be run.</td></tr>
+ </table>
+</dl>
+<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classphysx_1_1PxBaseTask.html" title="Base class of all task types.">PxBaseTask</a> </dd></dl>
+
+</div>
+</div><p>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="PxCpuDispatcher_8h-source.html">PxCpuDispatcher.h</a></ul>
+</div>
+
+<hr style="width: 100%; height: 2px;"><br>
+Copyright &copy; 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
+</body>
+</html>