PxDefaultCpuDispatcher Class Referenceabstract

A default implementation for a CPU task dispatcher. More...

#include <PxDefaultCpuDispatcher.h>

Inheritance diagram for PxDefaultCpuDispatcher:
Collaboration diagram for PxDefaultCpuDispatcher:

Public Member Functions

virtual void release ()=0
 Deletes the dispatcher. More...
 
virtual void setRunProfiled (bool runProfiled)=0
 Enables profiling at task level. More...
 
virtual bool getRunProfiled () const =0
 Checks if profiling is enabled at task level. More...
 

Detailed Description

A default implementation for a CPU task dispatcher.

See also
PxDefaultCpuDispatcherCreate() PxCpuDispatcher

Member Function Documentation

◆ getRunProfiled()

virtual bool PxDefaultCpuDispatcher::getRunProfiled ( ) const
pure virtual

Checks if profiling is enabled at task level.

Returns
True if tasks should be profiled.

◆ release()

virtual void PxDefaultCpuDispatcher::release ( )
pure virtual

Deletes the dispatcher.

Do not keep a reference to the deleted instance.

See also
PxDefaultCpuDispatcherCreate()

◆ setRunProfiled()

virtual void PxDefaultCpuDispatcher::setRunProfiled ( bool  runProfiled)
pure virtual

Enables profiling at task level.

Note
By default enabled only in profiling builds.
Parameters
[in]runProfiledTrue if tasks should be profiled.

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