|
RavEngine
|
#include <PxPvdImpl.h>
Public Member Functions | |
| void | release () |
| Releases the pvd instance. | |
| bool | connect (PxPvdTransport &transport, PxPvdInstrumentationFlags flags) |
| void | disconnect () |
| bool | isConnected (bool useCachedStatus=true) |
| void | flush () |
| PxPvdTransport * | getTransport () |
| PxPvdInstrumentationFlags | getInstrumentationFlags () |
| void | addClient (PvdClient *client) |
| void | removeClient (PvdClient *client) |
| PvdOMMetaDataProvider & | getMetaDataProvider () |
| bool | registerObject (const void *inItem) |
| bool | unRegisterObject (const void *inItem) |
| void | onAllocation (size_t size, const char *typeName, const char *filename, int line, void *allocatedMemory) |
| callback when memory is allocated. | |
| void | onDeallocation (void *addr) |
| callback when memory is deallocated. | |
| uint64_t | getNextStreamId () |
| virtual void * | zoneStart (const char *eventName, bool detached, uint64_t contextId) |
| Mark the beginning of a nested profile block. | |
| virtual void | zoneEnd (void *profilerData, const char *eventName, bool detached, uint64_t contextId) |
| Mark the end of a nested profile block. | |
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) |
Static Public Member Functions | |
| static bool | initialize () |
| static PvdImpl * | getInstance () |
PvdImpl is the realization of PxPvd. It implements the interface methods and provides richer functionality for advanced users or internal clients (such as PhysX or APEX), including handler notification for clients.
|
virtual |
Implements physx::pvdsdk::PsPvd.
|
virtual |
Connects the SDK to the PhysX Visual Debugger application.
| transport | transport for pvd captured data. |
| flags | Flags to set. return True if success |
Implements physx::PxPvd.
|
virtual |
Disconnects the SDK from the PhysX Visual Debugger application. If we are still connected, this will kill the entire debugger connection.
Implements physx::PxPvd.
|
virtual |
Implements physx::pvdsdk::PsPvd.
|
virtual |
Retrieves the PVD flags. See PxPvdInstrumentationFlags.
Implements physx::PxPvd.
|
virtual |
Implements physx::pvdsdk::PsPvd.
|
virtual |
Implements physx::pvdsdk::PsPvd.
|
virtual |
returns the PVD data transport returns NULL if no transport is present.
Implements physx::PxPvd.
|
virtual |
Return if connection to PVD is created.
| useCachedStatus | 1> When useCachedStaus is false, isConnected() checks the lowlevel network status. This can be slow because it needs to lock the lowlevel network stream. If isConnected() is called frequently, the expense of locking can be significant. 2> When useCachedStatus is true, isConnected() checks the highlevel cached status with atomic access. It is faster than locking, but the status may be different from the lowlevel network with latency of up to one frame. The reason for this is that the cached status is changed inside socket listener, which is not called immediately when the lowlevel connection status changes. |
Implements physx::PxPvd.
|
virtual |
callback when memory is allocated.
| size | Size of the allocation in bytes. |
| typeName | Type this data is being allocated for. |
| filename | File the allocation came from. |
| line | the allocation came from. |
| allocatedMemory | memory that will be returned from the allocation. |
Implements physx::pvdsdk::PsPvd.
|
virtual |
callback when memory is deallocated.
| allocatedMemory | memory just before allocation. |
Implements physx::pvdsdk::PsPvd.
|
virtual |
Implements physx::pvdsdk::PsPvd.
|
virtual |
Releases the pvd instance.
Implements physx::PxPvd.
|
virtual |
Implements physx::pvdsdk::PsPvd.
|
virtual |
Implements physx::pvdsdk::PsPvd.
|
virtual |
Mark the end of a nested profile block.
| [in] | profilerData | The data returned by the corresponding zoneStart call (or NULL if not available) |
| [in] | eventName | The name of the zone ending, must match the corresponding name passed with 'zoneStart'. Must be a persistent const char *. |
| [in] | detached | True for cross thread events. Should match the value passed to zoneStart. |
| [in] | contextId | The context of this zone. Should match the value passed to zoneStart. |
Implements physx::PxProfilerCallback.
|
virtual |
Mark the beginning of a nested profile block.
| [in] | eventName | Event name. Must be a persistent const char * |
| [in] | detached | True for cross thread events |
| [in] | contextId | the context id of this zone. Zones with the same id belong to the same group. 0 is used for no specific group. |
Implements physx::PxProfilerCallback.