|
Blender V4.3
|
#include <btThreads.h>
Inherited by btTaskSchedulerSequential.
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.
| btITaskScheduler::btITaskScheduler | ( | const char * | name | ) |
Definition at line 336 of file btThreads.cpp.
References m_isActive, m_name, and m_savedThreadCounter.
|
inlinevirtual |
Definition at line 127 of file btThreads.h.
|
virtual |
Definition at line 343 of file btThreads.cpp.
References gThreadCounter, m_isActive, m_savedThreadCounter, and ThreadsafeCounter::mCounter.
Referenced by btSetTaskScheduler().
|
virtual |
Definition at line 358 of file btThreads.cpp.
References gThreadCounter, m_isActive, m_savedThreadCounter, and ThreadsafeCounter::mCounter.
Referenced by btSetTaskScheduler().
|
pure virtual |
Implemented in btTaskSchedulerSequential.
|
inline |
Definition at line 128 of file btThreads.h.
References m_name.
|
pure virtual |
Implemented in btTaskSchedulerSequential.
Referenced by writeGrainSizes().
|
pure virtual |
Implemented in btTaskSchedulerSequential.
Referenced by btParallelFor().
|
pure virtual |
Implemented in btTaskSchedulerSequential.
Referenced by btParallelSum().
|
pure virtual |
Implemented in btTaskSchedulerSequential.
|
inlinevirtual |
Definition at line 135 of file btThreads.h.
|
protected |
Definition at line 144 of file btThreads.h.
Referenced by activate(), btITaskScheduler(), and deactivate().
|
protected |
Definition at line 142 of file btThreads.h.
Referenced by btITaskScheduler(), and getName().
|
protected |
Definition at line 143 of file btThreads.h.
Referenced by activate(), btITaskScheduler(), and deactivate().