Package physx.support

Class PxPvdTransport

java.lang.Object
physx.NativeObject
physx.support.PxPvdTransport
Direct Known Subclasses:
SimplePvdTransport

public class PxPvdTransport extends NativeObject
PxPvdTransport is an interface representing the data transport mechanism. This class defines all services associated with the transport: configuration, connection, reading, writing etc. It is owned by the application, and can be realized as a file or a socket (using one-line PxDefault<...> methods in PhysXExtensions) or in a custom implementation. This is a class that is intended for use by PVD, not by the application, the application entry points are PxPvd and PvdClient.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxPvdTransport

      protected PxPvdTransport()
    • PxPvdTransport

      protected PxPvdTransport(long address)
  • Method Details

    • wrapPointer

      public static PxPvdTransport wrapPointer(long address)
    • arrayGet

      public static PxPvdTransport arrayGet(long baseAddress, int index)
    • connect

      public boolean connect()
      Connects to the Visual Debugger application. return True if success
    • isConnected

      public boolean isConnected()
      * Return if connection to PVD is created.
    • disconnect

      public void disconnect()
      Disconnects from the Visual Debugger application. If we are still connected, this will kill the entire debugger connection.
    • release

      public void release()
    • flush

      public void flush()
      * send any data and block until we know it is at least on the wire.