RavEngine
Loading...
Searching...
No Matches
physx::pvdsdk::PvdDefaultSocketTransport Class Reference
Inheritance diagram for physx::pvdsdk::PvdDefaultSocketTransport:
[legend]
Collaboration diagram for physx::pvdsdk::PvdDefaultSocketTransport:
[legend]

Public Member Functions

 PvdDefaultSocketTransport (const char *host, int port, unsigned int timeoutInMilliseconds)
 
virtual bool connect ()
 
virtual void disconnect ()
 
virtual bool isConnected ()
 
virtual bool write (const uint8_t *inBytes, uint32_t inLength)
 
virtual void flush ()
 
virtual PxPvdTransport & lock ()
 
virtual void unlock ()
 
virtual uint64_t getWrittenDataSize ()
 
virtual void release ()
 
- 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)
 

Member Function Documentation

◆ connect()

bool physx::pvdsdk::PvdDefaultSocketTransport::connect ( )
virtual

Connects to the Visual Debugger application. return True if success

Implements physx::PxPvdTransport.

◆ disconnect()

void physx::pvdsdk::PvdDefaultSocketTransport::disconnect ( )
virtual

Disconnects from the Visual Debugger application. If we are still connected, this will kill the entire debugger connection.

Implements physx::PxPvdTransport.

◆ flush()

void physx::pvdsdk::PvdDefaultSocketTransport::flush ( )
virtual

send any data and block until we know it is at least on the wire.

Implements physx::PxPvdTransport.

◆ getWrittenDataSize()

uint64_t physx::pvdsdk::PvdDefaultSocketTransport::getWrittenDataSize ( )
virtual

Return size of written data.

Implements physx::PxPvdTransport.

◆ isConnected()

bool physx::pvdsdk::PvdDefaultSocketTransport::isConnected ( )
virtual

Return if connection to PVD is created.

Implements physx::PxPvdTransport.

◆ lock()

PxPvdTransport & physx::pvdsdk::PvdDefaultSocketTransport::lock ( )
virtual

Implements physx::PxPvdTransport.

◆ release()

void physx::pvdsdk::PvdDefaultSocketTransport::release ( )
virtual

Implements physx::PxPvdTransport.

◆ unlock()

void physx::pvdsdk::PvdDefaultSocketTransport::unlock ( )
virtual

Implements physx::PxPvdTransport.

◆ write()

bool physx::pvdsdk::PvdDefaultSocketTransport::write ( const uint8_t *  inBytes,
uint32_t  inLength 
)
virtual

write bytes to the other endpoint of the connection. should lock before witre. If an error occurs this connection will assume to be dead.

Implements physx::PxPvdTransport.


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