RavEngine
Loading...
Searching...
No Matches
physx::profile::ZoneManagerImpl Class Reference
Inheritance diagram for physx::profile::ZoneManagerImpl:
[legend]
Collaboration diagram for physx::profile::ZoneManagerImpl:
[legend]

Public Member Functions

 ZoneManagerImpl (PxAllocatorCallback *inFoundation)
 
virtual void addProfileZone (PxProfileZone &inSDK)
 Add new profile zone for the manager.
 
virtual void removeProfileZone (PxProfileZone &inSDK)
 Removes profile zone from the manager.
 
virtual void flushProfileEvents ()
 Flush profile events. Sends the profile event buffer to hooked clients.
 
virtual void addProfileZoneHandler (PxProfileZoneHandler &inHandler)
 Add profile zone handler callback for the profile zone notifications.
 
virtual void removeProfileZoneHandler (PxProfileZoneHandler &inHandler)
 Removes profile zone handler callback for the profile zone notifications.
 
virtual PxProfileZone & createProfileZone (const char *inSDKName, PxProfileNameProvider *inProvider, uint32_t inEventBufferByteSize)
 
virtual PxProfileZone & createProfileZone (const char *inSDKName, PxProfileNames inNames, uint32_t inEventBufferByteSize)
 Create a new profile zone. This means you don't need access to a PxFoundation to create your profile zone object, and your object is automatically registered with the profile zone manager.
 
virtual void release ()
 Releases the profile manager instance.
 

Additional Inherited Members

- Static Public Member Functions inherited from physx::profile::PxProfileZoneManager
static PxProfileZoneManager & createProfileZoneManager (PxAllocatorCallback *inAllocatorCallback)
 Create the profile zone manager.
 

Member Function Documentation

◆ addProfileZone()

virtual void physx::profile::ZoneManagerImpl::addProfileZone ( PxProfileZone &  inSDK)
inlinevirtual

Add new profile zone for the manager.

Note
Threadsafe call, can be done from any thread. Handlers that are already connected will get a new callback on the current thread.
Parameters
inSDKProfile zone to add.

Implements physx::profile::PxProfileZoneManager.

◆ addProfileZoneHandler()

virtual void physx::profile::ZoneManagerImpl::addProfileZoneHandler ( PxProfileZoneHandler &  inHandler)
inlinevirtual

Add profile zone handler callback for the profile zone notifications.

Note
Threadsafe call. The new handler will immediately be notified about all known SDKs.
Parameters
inHandlerProfile zone handler to add.

Implements physx::profile::PxProfileZoneManager.

◆ createProfileZone()

virtual PxProfileZone & physx::profile::ZoneManagerImpl::createProfileZone ( const char *  inSDKName,
PxProfileNames  inNames,
uint32_t  inEventBufferByteSize 
)
inlinevirtual

Create a new profile zone. This means you don't need access to a PxFoundation to create your profile zone object, and your object is automatically registered with the profile zone manager.

You still need to release your object when you are finished with it.

Parameters
inSDKNameName of the SDK object.
inNamesOption set of event id to name mappings.
inEventBufferByteSizerough maximum size of the event buffer. May exceed this size by sizeof one event. When full an immediate call to all listeners is made.

Implements physx::profile::PxProfileZoneManager.

◆ flushProfileEvents()

virtual void physx::profile::ZoneManagerImpl::flushProfileEvents ( )
inlinevirtual

Flush profile events. Sends the profile event buffer to hooked clients.

Implements physx::profile::PxProfileEventFlusher.

◆ release()

virtual void physx::profile::ZoneManagerImpl::release ( )
inlinevirtual

Releases the profile manager instance.

Implements physx::profile::PxProfileZoneManager.

◆ removeProfileZone()

virtual void physx::profile::ZoneManagerImpl::removeProfileZone ( PxProfileZone &  inSDK)
inlinevirtual

Removes profile zone from the manager.

Note
Threadsafe call, can be done from any thread. Handlers that are already connected will get a new callback on the current thread.
Parameters
inSDKProfile zone to remove.

Implements physx::profile::PxProfileZoneManager.

◆ removeProfileZoneHandler()

virtual void physx::profile::ZoneManagerImpl::removeProfileZoneHandler ( PxProfileZoneHandler &  inHandler)
inlinevirtual

Removes profile zone handler callback for the profile zone notifications.

Note
Threadsafe call. The new handler will immediately be notified about all known SDKs.
Parameters
inHandlerProfile zone handler to remove.

Implements physx::profile::PxProfileZoneManager.


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