void registerProperties( PvdDataStream& inStream ) { inStream.createClass<TObjType>(); PvdPropertyDefinitionHelper& theHelper( inStream.getPropertyDefinitionHelper() ); PvdClassInfoDefine theDefinitionObj( theHelper, getPvdNamespacedNameForType<TObjType>() ); visitPvdInstanceProperties<TObjType>( theDefinitionObj ); }
void registerPropertiesAndValueStruct( PvdDataStream& inStream ) { inStream.createClass<TObjType>(); inStream.deriveClass<PxJoint,TObjType>(); PvdPropertyDefinitionHelper& theHelper( inStream.getPropertyDefinitionHelper() ); { PvdClassInfoDefine theDefinitionObj( theHelper, getPvdNamespacedNameForType<TObjType>() ); visitPvdInstanceProperties<TObjType>( theDefinitionObj ); } { PvdClassInfoValueStructDefine theDefinitionObj( theHelper ); visitPvdProperties<TObjType>( theDefinitionObj ); theHelper.addPropertyMessage<TObjType,TValueStructType>(); } }