Public Member Functions | Protected Member Functions | List of all members
PxDefaultBufferedProfiler Class Referenceabstract

Default implementation for profile event handler. More...

#include <PxDefaultBufferedProfiler.h>

Public Member Functions

virtual void flushEvents ()=0
 Flush all the event buffers to ensure that event callbacks see all events that have been issued. More...
 
virtual PxProfileZoneManager & getProfileZoneManager ()=0
 Get the profile zone manager. More...
 
virtual void addBufferedProfilerCallback (PxBufferedProfilerCallback &cb)=0
 add an event callback. More...
 
virtual void removeBufferedProfilerCallback (PxBufferedProfilerCallback &cb)=0
 remove an event callback. More...
 
virtual void release ()=0
 Release the PxDefaultBufferedProfiler. More...
 

Protected Member Functions

virtual ~PxDefaultBufferedProfiler (void)
 

Detailed Description

Default implementation for profile event handler.

The profile event handler listens for events from one or more profile zones, specified at creation time. It forwards those events to one or more callbacks.

Events will be reported when internal event buffers fill up. Calling flushEvents() result in any unreported events being reported immediately.

See Also
PxDefaultBufferedProfilerCreate physx::PxProfileZone physx::PxProfileZoneMananger

Constructor & Destructor Documentation

virtual PxDefaultBufferedProfiler::~PxDefaultBufferedProfiler ( void  )
inlineprotectedvirtual

Member Function Documentation

virtual void PxDefaultBufferedProfiler::addBufferedProfilerCallback ( PxBufferedProfilerCallback cb)
pure virtual

add an event callback.

Parameters
[in]cbthe callback to add.
virtual void PxDefaultBufferedProfiler::flushEvents ( )
pure virtual

Flush all the event buffers to ensure that event callbacks see all events that have been issued.

See Also
PxBufferedProfilerCallback
virtual PxProfileZoneManager& PxDefaultBufferedProfiler::getProfileZoneManager ( )
pure virtual

Get the profile zone manager.

virtual void PxDefaultBufferedProfiler::release ( )
pure virtual
virtual void PxDefaultBufferedProfiler::removeBufferedProfilerCallback ( PxBufferedProfilerCallback cb)
pure virtual

remove an event callback.

Parameters
[in]cbthe event callback to remove.

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