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) |
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.
|
inlineprotectedvirtual |
|
pure virtual |
add an event callback.
[in] | cb | the callback to add. |
|
pure virtual |
Flush all the event buffers to ensure that event callbacks see all events that have been issued.
|
pure virtual |
Get the profile zone manager.
|
pure virtual |
Release the PxDefaultBufferedProfiler.
|
pure virtual |
remove an event callback.
[in] | cb | the event callback to remove. |