java.lang.Object
physx.NativeObject
physx.support.PxPvdTransport
- Direct Known Subclasses:
SimplePvdTransport
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxPvdTransportarrayGet(long baseAddress, int index) booleanconnect()Connects to the Visual Debugger application.voidDisconnects from the Visual Debugger application.voidflush()* send any data and block until we know it is at least on the wire.boolean* Return if connection to PVD is created.voidrelease()static PxPvdTransportwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
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
-
arrayGet
-
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.
-