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

Public Member Functions

virtual void addClient (PvdClient *client)=0
 
virtual void removeClient (PvdClient *client)=0
 
virtual bool registerObject (const void *inItem)=0
 
virtual bool unRegisterObject (const void *inItem)=0
 
void onAllocation (size_t size, const char *typeName, const char *filename, int line, void *allocatedMemory)=0
 callback when memory is allocated.
 
void onDeallocation (void *addr)=0
 callback when memory is deallocated.
 
virtual PvdOMMetaDataProvider & getMetaDataProvider ()=0
 
virtual uint64_t getNextStreamId ()=0
 
virtual void flush ()=0
 
- Public Member Functions inherited from physx::PxPvd
virtual bool connect (PxPvdTransport &transport, PxPvdInstrumentationFlags flags)=0
 
virtual void disconnect ()=0
 
virtual bool isConnected (bool useCachedStatus=true)=0
 
virtual PxPvdTransport * getTransport ()=0
 
virtual PxPvdInstrumentationFlags getInstrumentationFlags ()=0
 
virtual void release ()=0
 Releases the pvd instance.
 
- Public Member Functions inherited from physx::PxProfilerCallback
virtual void * zoneStart (const char *eventName, bool detached, uint64_t contextId)=0
 Mark the beginning of a nested profile block.
 
virtual void zoneEnd (void *profilerData, const char *eventName, bool detached, uint64_t contextId)=0
 Mark the end of a nested profile block.
 
virtual void * zoneStart (const char *eventName, bool detached, uint64_t contextId)=0
 Mark the beginning of a nested profile block.
 
virtual void zoneEnd (void *profilerData, const char *eventName, bool detached, uint64_t contextId)=0
 Mark the end of a nested profile block.
 

Member Function Documentation

◆ onAllocation()

void physx::pvdsdk::PsPvd::onAllocation ( size_t  size,
const char *  typeName,
const char *  filename,
int  line,
void *  allocatedMemory 
)
pure virtual

callback when memory is allocated.

Parameters
sizeSize of the allocation in bytes.
typeNameType this data is being allocated for.
filenameFile the allocation came from.
linethe allocation came from.
allocatedMemorymemory that will be returned from the allocation.

Implements physx::PxAllocationListener.

Implemented in physx::pvdsdk::PvdImpl.

◆ onDeallocation()

void physx::pvdsdk::PsPvd::onDeallocation ( void *  allocatedMemory)
pure virtual

callback when memory is deallocated.

Parameters
allocatedMemorymemory just before allocation.

Implements physx::PxAllocationListener.

Implemented in physx::pvdsdk::PvdImpl.


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