NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxDefaultCpuDispatcher Class Reference

NVIDIA PhysX SDK 3.4 API

PxDefaultCpuDispatcher Class Reference
[Extensions]

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

#include <PxDefaultCpuDispatcher.h>

List of all members.


Public Member Functions

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

Detailed Description

A default implementation for a CPU task dispatcher.

See also:
PxDefaultCpuDispatcherCreate() PxCpuDispatcher

Member Function Documentation

virtual bool PxDefaultCpuDispatcher::getRunProfiled (  )  const [pure virtual]

Checks if profiling is enabled at task level.

Returns:
True if tasks should be profiled.

virtual void PxDefaultCpuDispatcher::release (  )  [pure virtual]

Deletes the dispatcher.

Do not keep a reference to the deleted instance.

See also:
PxDefaultCpuDispatcherCreate()

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

Enables profiling at task level.

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


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



Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com