Bullet Collision Detection & Physics Library
|
#include <btThreads.h>
Public Member Functions | |
btITaskScheduler (const char *name) | |
virtual | ~btITaskScheduler () |
const char * | getName () const |
virtual int | getMaxNumThreads () const =0 |
virtual int | getNumThreads () const =0 |
virtual void | setNumThreads (int numThreads)=0 |
virtual void | parallelFor (int iBegin, int iEnd, int grainSize, const btIParallelForBody &body)=0 |
virtual btScalar | parallelSum (int iBegin, int iEnd, int grainSize, const btIParallelSumBody &body)=0 |
virtual void | sleepWorkerThreadsHint () |
virtual void | activate () |
virtual void | deactivate () |
Protected Attributes | |
const char * | m_name |
unsigned int | m_savedThreadCounter |
bool | m_isActive |
Definition at line 123 of file btThreads.h.
Definition at line 336 of file btThreads.cpp.
|
inlinevirtual |
Definition at line 127 of file btThreads.h.
|
virtual |
Definition at line 343 of file btThreads.cpp.
|
virtual |
Definition at line 358 of file btThreads.cpp.
Implemented in btTaskSchedulerSequential.
Definition at line 128 of file btThreads.h.
Implemented in btTaskSchedulerSequential.
|
pure virtual |
Implemented in btTaskSchedulerSequential.
|
pure virtual |
Implemented in btTaskSchedulerSequential.
Implemented in btTaskSchedulerSequential.
Definition at line 135 of file btThreads.h.
|
protected |
Definition at line 144 of file btThreads.h.
Definition at line 142 of file btThreads.h.
Definition at line 143 of file btThreads.h.