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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxSerialFramework.h Source File</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 -->
<h1>PxSerialFramework.h</h1><a href="PxSerialFramework_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// This code contains NVIDIA Confidential Information and is disclosed to you</span>
<a name="l00002"></a>00002 <span class="comment">// under a form of NVIDIA software license agreement provided separately to you.</span>
<a name="l00003"></a>00003 <span class="comment">//</span>
<a name="l00004"></a>00004 <span class="comment">// Notice</span>
<a name="l00005"></a>00005 <span class="comment">// NVIDIA Corporation and its licensors retain all intellectual property and</span>
<a name="l00006"></a>00006 <span class="comment">// proprietary rights in and to this software and related documentation and</span>
<a name="l00007"></a>00007 <span class="comment">// any modifications thereto. Any use, reproduction, disclosure, or</span>
<a name="l00008"></a>00008 <span class="comment">// distribution of this software and related documentation without an express</span>
<a name="l00009"></a>00009 <span class="comment">// license agreement from NVIDIA Corporation is strictly prohibited.</span>
<a name="l00010"></a>00010 <span class="comment">//</span>
<a name="l00011"></a>00011 <span class="comment">// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES</span>
<a name="l00012"></a>00012 <span class="comment">// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO</span>
<a name="l00013"></a>00013 <span class="comment">// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,</span>
<a name="l00014"></a>00014 <span class="comment">// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.</span>
<a name="l00015"></a>00015 <span class="comment">//</span>
<a name="l00016"></a>00016 <span class="comment">// Information and code furnished is believed to be accurate and reliable.</span>
<a name="l00017"></a>00017 <span class="comment">// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such</span>
<a name="l00018"></a>00018 <span class="comment">// information or for any infringement of patents or other rights of third parties that may</span>
<a name="l00019"></a>00019 <span class="comment">// result from its use. No license is granted by implication or otherwise under any patent</span>
<a name="l00020"></a>00020 <span class="comment">// or patent rights of NVIDIA Corporation. Details are subject to change without notice.</span>
<a name="l00021"></a>00021 <span class="comment">// This code supersedes and replaces all information previously supplied.</span>
<a name="l00022"></a>00022 <span class="comment">// NVIDIA Corporation products are not authorized for use as critical</span>
<a name="l00023"></a>00023 <span class="comment">// components in life support devices or systems without express written approval of</span>
<a name="l00024"></a>00024 <span class="comment">// NVIDIA Corporation.</span>
<a name="l00025"></a>00025 <span class="comment">//</span>
<a name="l00026"></a>00026 <span class="comment">// Copyright (c) 2008-2018 NVIDIA Corporation. All rights reserved.</span>
<a name="l00027"></a>00027 <span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span>
<a name="l00028"></a>00028 <span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved. </span>
<a name="l00029"></a>00029
<a name="l00030"></a>00030
<a name="l00031"></a>00031 <span class="preprocessor">#ifndef PX_PHYSICS_COMMON_NX_SERIAL_FRAMEWORK</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define PX_PHYSICS_COMMON_NX_SERIAL_FRAMEWORK</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="PxPhysXCommonConfig_8h.html">common/PxPhysXCommonConfig.h</a>"</span>
<a name="l00039"></a>00039
<a name="l00040"></a>00040 <span class="preprocessor">#if !PX_DOXYGEN</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="keyword">namespace </span>physx
<a name="l00042"></a>00042 {
<a name="l00043"></a>00043 <span class="preprocessor">#endif</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>
<a name="l00045"></a><a class="code" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">00045</a> <span class="keyword">typedef</span> <a class="code" href="namespacephysx.html#9caf1cbcda071b6d2a9c069faa99da23">PxU16</a> <a class="code" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a>;
<a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>;
<a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="classPxSerializationContext.html" title="Binary serialization context class.">PxSerializationContext</a>;
<a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="classPxRepXSerializer.html" title="Serializer interface for RepX (Xml) serialization.">PxRepXSerializer</a>;
<a name="l00049"></a>00049 <span class="keyword">class </span><a class="code" href="classPxSerializer.html" title="Serialization interface class.">PxSerializer</a>;
<a name="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a>;
<a name="l00051"></a>00051
<a name="l00053"></a><a class="code" href="group__common.html#g2fda99afe264006a8ef8a699aa1328aa">00053</a> <span class="preprocessor">#define PX_SERIAL_ALIGN 16</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span>
<a name="l00056"></a><a class="code" href="group__common.html#g8ca0e9fc5693e347b3ee5735fc637fc2">00056</a> <span class="preprocessor">#define PX_SERIAL_FILE_ALIGN 128</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>
<a name="l00059"></a><a class="code" href="group__common.html#g70054743832670870a1ce9f619907c77">00059</a> <span class="preprocessor">#define PX_SERIAL_OBJECT_ID_INVALID 0</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span>
<a name="l00062"></a><a class="code" href="group__common.html#gb2ccfb663643cd2d66b59908189d88cd">00062</a> <span class="keyword">typedef</span> <a class="code" href="namespacephysx.html#8ee037dcecf7198800e1f302795c10ee">PxU64</a> <a class="code" href="group__common.html#gb2ccfb663643cd2d66b59908189d88cd" title="ID type for PxBase objects in a PxCollection.">PxSerialObjectId</a>;
<a name="l00063"></a>00063
<a name="l00065"></a><a class="code" href="group__common.html#ga59252c69aa987bd926da9bbf5092367">00065</a> <span class="preprocessor">#define PX_SERIAL_REF_KIND_PTR_TYPE_BIT (1u<<31)</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>
<a name="l00068"></a><a class="code" href="group__common.html#g8cd51251f2e11c3b6598b96f32e400f8">00068</a> <span class="preprocessor">#define PX_SERIAL_REF_KIND_PXBASE (0 | PX_SERIAL_REF_KIND_PTR_TYPE_BIT)</span>
<a name="l00069"></a>00069 <span class="preprocessor"></span>
<a name="l00071"></a><a class="code" href="group__common.html#g27914dcd6d0448671eebfeca012cd0b5">00071</a> <span class="preprocessor">#define PX_SERIAL_REF_KIND_MATERIAL_IDX (1)</span>
<a name="l00072"></a>00072 <span class="preprocessor"></span>
<a name="l00074"></a><a class="code" href="group__common.html#gbbba9e3f699e63445326263daec187e8">00074</a> <span class="preprocessor">#define PX_MAKE_FOURCC(a, b, c, d) ( (a) | ((b)<<8) | ((c)<<16) | ((d)<<24) )</span>
<a name="l00075"></a>00075 <span class="preprocessor"></span>
<a name="l00081"></a><a class="code" href="classPxProcessPxBaseCallback.html">00081</a> <span class="keyword">class </span><a class="code" href="classPxProcessPxBaseCallback.html" title="Callback class used to process PxBase objects.">PxProcessPxBaseCallback</a>
<a name="l00082"></a>00082 {
<a name="l00083"></a>00083 <span class="keyword">public</span>:
<a name="l00084"></a><a class="code" href="classPxProcessPxBaseCallback.html#f561cc0a3039eb78ba0c041797334952">00084</a> <span class="keyword">virtual</span> <a class="code" href="classPxProcessPxBaseCallback.html#f561cc0a3039eb78ba0c041797334952">~PxProcessPxBaseCallback</a>() {}
<a name="l00085"></a>00085 <span class="keyword">virtual</span> <span class="keywordtype">void</span> process(<a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>&) = 0;
<a name="l00086"></a>00086 };
<a name="l00087"></a>00087
<a name="l00088"></a>00088
<a name="l00099"></a><a class="code" href="classPxSerializationContext.html">00099</a> <span class="keyword">class </span><a class="code" href="classPxSerializationContext.html" title="Binary serialization context class.">PxSerializationContext</a>
<a name="l00100"></a>00100 {
<a name="l00101"></a>00101 <span class="keyword">public</span>:
<a name="l00102"></a>00102
<a name="l00124"></a>00124 <span class="keyword">virtual</span> <span class="keywordtype">void</span> registerReference(<a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>& base, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> kind, <span class="keywordtype">size_t</span> reference) = 0;
<a name="l00125"></a>00125
<a name="l00129"></a>00129 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classPxCollection.html" title="Collection class for serialization.">PxCollection</a>& getCollection() <span class="keyword">const</span> = 0;
<a name="l00130"></a>00130
<a name="l00138"></a>00138 <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeData(<span class="keyword">const</span> <span class="keywordtype">void</span>* data, <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> size) = 0;
<a name="l00139"></a>00139
<a name="l00147"></a>00147 <span class="keyword">virtual</span> <span class="keywordtype">void</span> alignData(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> alignment = <a class="code" href="group__common.html#g2fda99afe264006a8ef8a699aa1328aa" title="Default serialization alignment.">PX_SERIAL_ALIGN</a>) = 0;
<a name="l00148"></a>00148
<a name="l00156"></a>00156 <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeName(<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0;
<a name="l00157"></a>00157
<a name="l00158"></a>00158 <span class="keyword">protected</span>:
<a name="l00159"></a>00159
<a name="l00160"></a><a class="code" href="classPxSerializationContext.html#586e2fdab9eb45ee4f88c5fc3f637936">00160</a> <a class="code" href="classPxSerializationContext.html#586e2fdab9eb45ee4f88c5fc3f637936">PxSerializationContext</a>() {}
<a name="l00161"></a><a class="code" href="classPxSerializationContext.html#a2dbd9a052f3bfe5242b3ab8c980f576">00161</a> <span class="keyword">virtual</span> <a class="code" href="classPxSerializationContext.html#a2dbd9a052f3bfe5242b3ab8c980f576">~PxSerializationContext</a>() {}
<a name="l00162"></a>00162 };
<a name="l00163"></a>00163
<a name="l00164"></a>00164
<a name="l00174"></a><a class="code" href="classPxDeserializationContext.html">00174</a> <span class="keyword">class </span><a class="code" href="classPxDeserializationContext.html" title="Binary deserialization context class.">PxDeserializationContext</a>
<a name="l00175"></a>00175 {
<a name="l00176"></a>00176 <span class="keyword">public</span>:
<a name="l00177"></a>00177
<a name="l00196"></a>00196 <span class="keyword">virtual</span> <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>* resolveReference(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> kind, <span class="keywordtype">size_t</span> reference) <span class="keyword">const</span> = 0;
<a name="l00197"></a>00197
<a name="l00203"></a>00203 <span class="keyword">template</span><<span class="keyword">typename</span> T>
<a name="l00204"></a><a class="code" href="classPxDeserializationContext.html#8031417e21624c82dcafa32ba6540286">00204</a> <span class="keywordtype">void</span> <a class="code" href="classPxDeserializationContext.html#8031417e21624c82dcafa32ba6540286" title="Helper function to update PxBase pointer on deserialization.">translatePxBase</a>(T*& base) { <span class="keywordflow">if</span> (base) { base = <span class="keyword">static_cast<</span>T*<span class="keyword">></span>(resolveReference(<a class="code" href="group__common.html#g8cd51251f2e11c3b6598b96f32e400f8" title="Reference kind value for PxBase objects.">PX_SERIAL_REF_KIND_PXBASE</a>, <span class="keywordtype">size_t</span>(base))); } }
<a name="l00205"></a>00205
<a name="l00213"></a><a class="code" href="classPxDeserializationContext.html#393b7ca347c967d330791d19b2e37006">00213</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">void</span> readName(<span class="keyword">const</span> <span class="keywordtype">char</span>*& name)
<a name="l00214"></a>00214 {
<a name="l00215"></a>00215 <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> len = *<span class="keyword">reinterpret_cast<</span><a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>*<span class="keyword">></span>(mExtraDataAddress);
<a name="l00216"></a>00216 mExtraDataAddress += <span class="keyword">sizeof</span>(len);
<a name="l00217"></a>00217 name = len ? <span class="keyword">reinterpret_cast<</span><span class="keyword">const </span><span class="keywordtype">char</span>*<span class="keyword">></span>(mExtraDataAddress) : NULL;
<a name="l00218"></a>00218 mExtraDataAddress += len;
<a name="l00219"></a>00219 }
<a name="l00220"></a>00220
<a name="l00228"></a>00228 <span class="keyword">template</span><<span class="keyword">typename</span> T>
<a name="l00229"></a><a class="code" href="classPxDeserializationContext.html#fc3b1411dd1c15ed50b393bb1a65290a">00229</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> T* readExtraData(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> count=1)
<a name="l00230"></a>00230 {
<a name="l00231"></a>00231 T* data = <span class="keyword">reinterpret_cast<</span>T*<span class="keyword">></span>(mExtraDataAddress);
<a name="l00232"></a>00232 mExtraDataAddress += <span class="keyword">sizeof</span>(T)*count;
<a name="l00233"></a>00233 <span class="keywordflow">return</span> data;
<a name="l00234"></a>00234 }
<a name="l00235"></a>00235
<a name="l00243"></a>00243 <span class="keyword">template</span><<span class="keyword">typename</span> T, PxU32 alignment>
<a name="l00244"></a><a class="code" href="classPxDeserializationContext.html#fc3b1411dd1c15ed50b393bb1a65290a">00244</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> T* readExtraData(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> count=1)
<a name="l00245"></a>00245 {
<a name="l00246"></a>00246 alignExtraData(alignment);
<a name="l00247"></a>00247 <span class="keywordflow">return</span> readExtraData<T>(count);
<a name="l00248"></a>00248 }
<a name="l00249"></a>00249
<a name="l00257"></a><a class="code" href="classPxDeserializationContext.html#f6b8fa92c606bc4641ef3e06750b4a37">00257</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">void</span> alignExtraData(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> alignment = <a class="code" href="group__common.html#g2fda99afe264006a8ef8a699aa1328aa" title="Default serialization alignment.">PX_SERIAL_ALIGN</a>)
<a name="l00258"></a>00258 {
<a name="l00259"></a>00259 <span class="keywordtype">size_t</span> addr = <span class="keyword">reinterpret_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(mExtraDataAddress);
<a name="l00260"></a>00260 addr = (addr+alignment-1)&~<span class="keywordtype">size_t</span>(alignment-1);
<a name="l00261"></a>00261 mExtraDataAddress = <span class="keyword">reinterpret_cast<</span><a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a>*<span class="keyword">></span>(addr);
<a name="l00262"></a>00262 }
<a name="l00263"></a>00263
<a name="l00264"></a>00264
<a name="l00269"></a>00269 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getPhysXVersion() <span class="keyword">const</span> = 0;
<a name="l00270"></a>00270
<a name="l00271"></a>00271 <span class="keyword">protected</span>:
<a name="l00272"></a>00272
<a name="l00273"></a><a class="code" href="classPxDeserializationContext.html#18007433a2cc90ef8ccf4353fb8b123d">00273</a> <a class="code" href="classPxDeserializationContext.html#18007433a2cc90ef8ccf4353fb8b123d">PxDeserializationContext</a>() {}
<a name="l00274"></a><a class="code" href="classPxDeserializationContext.html#2299e472c6c4dc486cbd08385efd31d9">00274</a> <span class="keyword">virtual</span> <a class="code" href="classPxDeserializationContext.html#2299e472c6c4dc486cbd08385efd31d9">~PxDeserializationContext</a>() {}
<a name="l00275"></a>00275
<a name="l00276"></a><a class="code" href="classPxDeserializationContext.html#91c4d17f9b7f7acd3cd7a119fe701939">00276</a> <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a>* mExtraDataAddress;
<a name="l00277"></a>00277 };
<a name="l00278"></a>00278
<a name="l00285"></a><a class="code" href="group__common.html#g30d20e61da6f5f5056b1b8d37f98d31d">00285</a> <span class="keyword">typedef</span> void (*<a class="code" href="group__common.html#g30d20e61da6f5f5056b1b8d37f98d31d" title="Callback type for exporting binary meta data for a serializable type.">PxBinaryMetaDataCallback</a>)(<a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>& stream);
<a name="l00286"></a>00286
<a name="l00297"></a><a class="code" href="classPxSerializationRegistry.html">00297</a> <span class="keyword">class </span><a class="code" href="classPxSerializationRegistry.html" title="Class serving as a registry for XML (RepX) and binary serializable types.">PxSerializationRegistry</a>
<a name="l00298"></a>00298 {
<a name="l00299"></a>00299 <span class="keyword">public</span>:
<a name="l00300"></a>00300 <span class="comment">/************************************************************************************************/</span>
<a name="l00301"></a>00301
<a name="l00305"></a>00305
<a name="l00314"></a>00314 <span class="keyword">virtual</span> <span class="keywordtype">void</span> registerSerializer(<a class="code" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a> type, <a class="code" href="classPxSerializer.html" title="Serialization interface class.">PxSerializer</a>& serializer) = 0;
<a name="l00315"></a>00315
<a name="l00324"></a>00324 <span class="keyword">virtual</span> <a class="code" href="classPxSerializer.html" title="Serialization interface class.">PxSerializer</a>* unregisterSerializer(<a class="code" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a> type) = 0;
<a name="l00325"></a>00325
<a name="l00335"></a>00335 <span class="keyword">virtual</span> <span class="keywordtype">void</span> registerBinaryMetaDataCallback(<a class="code" href="group__common.html#g30d20e61da6f5f5056b1b8d37f98d31d" title="Callback type for exporting binary meta data for a serializable type.">PxBinaryMetaDataCallback</a> callback) = 0;
<a name="l00336"></a>00336
<a name="l00345"></a>00345 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classPxSerializer.html" title="Serialization interface class.">PxSerializer</a>* getSerializer(<a class="code" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a> type) <span class="keyword">const</span> = 0;
<a name="l00346"></a>00346
<a name="l00348"></a>00348 <span class="comment">/************************************************************************************************/</span>
<a name="l00349"></a>00349
<a name="l00353"></a>00353
<a name="l00362"></a>00362 <span class="keyword">virtual</span> <span class="keywordtype">void</span> registerRepXSerializer(<a class="code" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a> type, <a class="code" href="classPxRepXSerializer.html" title="Serializer interface for RepX (Xml) serialization.">PxRepXSerializer</a>& serializer) = 0;
<a name="l00363"></a>00363
<a name="l00372"></a>00372 <span class="keyword">virtual</span> <a class="code" href="classPxRepXSerializer.html" title="Serializer interface for RepX (Xml) serialization.">PxRepXSerializer</a>* unregisterRepXSerializer(<a class="code" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a> type) = 0;
<a name="l00373"></a>00373
<a name="l00382"></a>00382 <span class="keyword">virtual</span> <a class="code" href="classPxRepXSerializer.html" title="Serializer interface for RepX (Xml) serialization.">PxRepXSerializer</a>* getRepXSerializer(<span class="keyword">const</span> <span class="keywordtype">char</span>* typeName) <span class="keyword">const</span> = 0;
<a name="l00383"></a>00383
<a name="l00385"></a>00385 <span class="comment">/************************************************************************************************/</span>
<a name="l00386"></a>00386
<a name="l00395"></a>00395 <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;
<a name="l00396"></a>00396
<a name="l00397"></a>00397 <span class="keyword">protected</span>:
<a name="l00398"></a><a class="code" href="classPxSerializationRegistry.html#6679a4f8e92b782a1245dc4eb4cd8067">00398</a> <span class="keyword">virtual</span> <a class="code" href="classPxSerializationRegistry.html#6679a4f8e92b782a1245dc4eb4cd8067">~PxSerializationRegistry</a>(){}
<a name="l00399"></a>00399 };
<a name="l00400"></a>00400
<a name="l00401"></a>00401 <span class="preprocessor">#if !PX_DOXYGEN</span>
<a name="l00402"></a>00402 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span>
<a name="l00403"></a>00403 <span class="preprocessor">#endif</span>
<a name="l00404"></a>00404 <span class="preprocessor"></span>
<a name="l00406"></a>00406 <span class="preprocessor">#endif</span>
</pre></div></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>
|