RavEngine
Loading...
Searching...
No Matches
physx::PxJointRepXSerializer< TJointType > Struct Template Reference
Inheritance diagram for physx::PxJointRepXSerializer< TJointType >:
[legend]
Collaboration diagram for physx::PxJointRepXSerializer< TJointType >:
[legend]

Public Member Functions

 PxJointRepXSerializer (PxAllocatorCallback &inAllocator)
 
virtual PxRepXObject fileToObject (XmlReader &inReader, XmlMemoryAllocator &inAllocator, PxRepXInstantiationArgs &inArgs, PxCollection *inCollection)
 Convert from a descriptor to a live object. Must be an object of this Serializer type.
 
virtual void objectToFileImpl (const TJointType *inObj, PxCollection *inCollection, XmlWriter &inWriter, MemoryBuffer &inTempBuffer, PxRepXInstantiationArgs &)
 
virtual TJointType * allocateObject (PxRepXInstantiationArgs &)
 
- Public Member Functions inherited from physx::RepXSerializerImpl< TJointType >
 RepXSerializerImpl (PxAllocatorCallback &inAllocator)
 
virtual const char * getTypeName ()
 The type this Serializer is meant to operate on.
 
virtual void objectToFile (const PxRepXObject &inLiveObject, PxCollection *inCollection, XmlWriter &inWriter, MemoryBuffer &inTempBuffer, PxRepXInstantiationArgs &inArgs)
 Convert from a RepX object to a key-value pair hierarchy.
 
virtual bool fileToObjectImpl (TJointType *inObj, XmlReader &inReader, XmlMemoryAllocator &inAllocator, PxRepXInstantiationArgs &inArgs, PxCollection *inCollection)
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

Additional Inherited Members

- Public Attributes inherited from physx::RepXSerializerImpl< TJointType >
PxAllocatorCallback & mAllocator
 
- Protected Member Functions inherited from physx::RepXSerializerImpl< TJointType >
 RepXSerializerImpl (const RepXSerializerImpl &inOther)
 
RepXSerializerImpl & operator= (const RepXSerializerImpl &inOther)
 

Member Function Documentation

◆ allocateObject()

template<typename TJointType >
virtual TJointType * physx::PxJointRepXSerializer< TJointType >::allocateObject ( PxRepXInstantiationArgs &  )
inlinevirtual

◆ fileToObject()

template<typename TJointType >
PxRepXObject physx::PxJointRepXSerializer< TJointType >::fileToObject ( XmlReader &  inReader,
XmlMemoryAllocator &  inAllocator,
PxRepXInstantiationArgs &  inArgs,
PxCollection *  inCollection 
)
virtual

Convert from a descriptor to a live object. Must be an object of this Serializer type.

Parameters
[in]inReaderThe inverse of the writer, a key-value pair database.
[in]inAllocatorAn allocator to use for temporary allocations. These will be freed after instantiation completes.
[in]inArgsThe arguments used in create resources and objects.
[in]inCollectionThe collection used to find references.
Returns
The new live object. It can be an invalid object if the instantiation cannot take place.

Reimplemented from physx::RepXSerializerImpl< TJointType >.

◆ objectToFileImpl()

template<typename TJointType >
void physx::PxJointRepXSerializer< TJointType >::objectToFileImpl ( const TJointType *  inObj,
PxCollection *  inCollection,
XmlWriter &  inWriter,
MemoryBuffer &  inTempBuffer,
PxRepXInstantiationArgs &   
)
virtual

The documentation for this struct was generated from the following files: