Static Public Member Functions | List of all members
PxVisualDebuggerExt Class Reference

#include <PxVisualDebuggerExt.h>

Static Public Member Functions

static PxVisualDebuggerConnection * createConnection (PxVisualDebuggerConnectionManager *inMgr, const char *inHost, int inPort, unsigned int inTimeoutInMilliseconds, PxVisualDebuggerConnectionFlags inConnectionType=getDefaultConnectionFlags())
 
static PxVisualDebuggerConnection * createConnection (PxVisualDebuggerConnectionManager *inMgr, const char *filename, PxVisualDebuggerConnectionFlags inConnectionType=getDefaultConnectionFlags())
 
static PX_FORCE_INLINE
PxVisualDebuggerConnectionFlags 
getDefaultConnectionFlags ()
 
static PX_FORCE_INLINE
PxVisualDebuggerConnectionFlags 
getAllConnectionFlags ()
 

Detailed Description

class that contains all the data relevant for updating and visualizing extensions like joints in PVD

Member Function Documentation

static PxVisualDebuggerConnection* PxVisualDebuggerExt::createConnection ( PxVisualDebuggerConnectionManager *  inMgr,
const char *  inHost,
int  inPort,
unsigned int  inTimeoutInMilliseconds,
PxVisualDebuggerConnectionFlags  inConnectionType = getDefaultConnectionFlags() 
)
static

Connect to pvd using a network socket. This blocks for at most inTimeoutInMilliseconds before returning a new connection (or nothing). PVD needs to be started before this call is made.

Note
Since this call increment the reference count of PvdConnection, please call PvdConnection::release() after this funtion is called.
Parameters
inMgrThe manager to use to host the connection.
inHostHost in x.x.x.x network notation
inPortPort to connect to. The default is 5425.
inTimeoutInMillisecondsHow long to block waiting for a new connection
inConnectionTypeThe type information you want sent over the connection.
static PxVisualDebuggerConnection* PxVisualDebuggerExt::createConnection ( PxVisualDebuggerConnectionManager *  inMgr,
const char *  filename,
PxVisualDebuggerConnectionFlags  inConnectionType = getDefaultConnectionFlags() 
)
static

Connect to pvd, writing out the connection data to a file stream. You can then parse this data later with PVDUI.

Note
Since this call increment the reference count of PvdConnection, please call PvdConnection::release() after this funtion is called.
Parameters
inMgrThe manager to use to host the connection.
filenameThe filename to write connection data.
inConnectionTypeThe type information you want sent over the connection.
static PX_FORCE_INLINE PxVisualDebuggerConnectionFlags PxVisualDebuggerExt::getAllConnectionFlags ( )
inlinestatic
get all connection flags
Returns
all visual debugger connection flags: debug data, profiling and memory

References PxVisualDebuggerConnectionFlag::eDEBUG, PxVisualDebuggerConnectionFlag::eMEMORY, and PxVisualDebuggerConnectionFlag::ePROFILE.

static PX_FORCE_INLINE PxVisualDebuggerConnectionFlags PxVisualDebuggerExt::getDefaultConnectionFlags ( )
inlinestatic
get the default connection flags
Returns
the default connection flags: debug data and profiling

References PxVisualDebuggerConnectionFlag::eDEBUG, and PxVisualDebuggerConnectionFlag::ePROFILE.


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


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com