1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxErrorCallback 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>
<a class="qindex" href="hierarchy.html">Class Hierarchy</a>
<a class="qindex" href="annotated.html">Compound List</a>
<a class="qindex" href="functions.html">Compound Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>PxErrorCallback Class Reference<br>
<small>
[<a class="el" href="group__foundation.html">Foundation</a>]</small>
</h1><!-- doxytag: class="PxErrorCallback" -->User defined interface class. Used by the library to emit debug information.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxErrorCallback_8h-source.html">PxErrorCallback.h</a>></code>
<p>
<div class="dynheader">
Inheritance diagram for PxErrorCallback:</div>
<div class="dynsection">
<p><center><img src="classPxErrorCallback__inherit__graph.png" border="0" usemap="#PxErrorCallback__inherit__map" alt="Inheritance graph"></center>
<map name="PxErrorCallback__inherit__map">
<area shape="rect" href="classPxDefaultErrorCallback.html" title="default implementation of the error callback" alt="PxDefaultErrorCallback" coords="7,85,151,107"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classPxErrorCallback-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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxErrorCallback.html#7ea6b20bbea19c63f058e5acc6c86e68">~PxErrorCallback</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxErrorCallback.html#1e8a210106631f07bdd3bb79be9129c0">reportError</a> (<a class="el" href="structPxErrorCode.html#01157d5d2eca2cede61ecbbc32c7b2a3">PxErrorCode::Enum</a> code, const char *message, const char *file, int line)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reports an error code. <a href="#1e8a210106631f07bdd3bb79be9129c0"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
User defined interface class. Used by the library to emit debug information.
<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>The SDK state should not be modified from within any error reporting functions.</dd></dl>
<b>Threading:</b> The SDK sequences its calls to the output stream using a mutex, so the class need not be implemented in a thread-safe manner if the SDK is the only client. <hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="7ea6b20bbea19c63f058e5acc6c86e68"></a><!-- doxytag: member="PxErrorCallback::~PxErrorCallback" ref="7ea6b20bbea19c63f058e5acc6c86e68" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual PxErrorCallback::~PxErrorCallback </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </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="1e8a210106631f07bdd3bb79be9129c0"></a><!-- doxytag: member="PxErrorCallback::reportError" ref="1e8a210106631f07bdd3bb79be9129c0" args="(PxErrorCode::Enum code, const char *message, const char *file, int line)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void PxErrorCallback::reportError </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPxErrorCode.html#01157d5d2eca2cede61ecbbc32c7b2a3">PxErrorCode::Enum</a> </td>
<td class="paramname"> <em>code</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>message</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>file</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>line</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Reports an error code.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>code</em> </td><td>Error code, see <a class="el" href="structPxErrorCode.html" title="Error codes.">PxErrorCode</a> </td></tr>
<tr><td valign="top"></td><td valign="top"><em>message</em> </td><td>Message to display. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>file</em> </td><td>File error occured in. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td>Line number error occured on. </td></tr>
</table>
</dl>
<p>Implemented in <a class="el" href="classPxDefaultErrorCallback.html#46666dbca0239301d0dab449ce31b235">PxDefaultErrorCallback</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxErrorCallback_8h-source.html">PxErrorCallback.h</a></ul>
</div>
<hr style="width: 100%; height: 2px;"><br>
Copyright © 2008-2018 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>
|