![]() |
VR-Forces Developer's Guide
|
This class is just used to count the nav generation threads to ensure we do not start too many threads at a time.
Public Member Functions | |
| DtNavGenerationThreadCounter (unsigned maxThreads) | |
| void | setMaxThreads (unsigned maxThreads) |
| unsigned | maxThreads () const |
| bool | claimThread () |
| void | releaseThread () |
| void | releaseAllThreads () |
Private Attributes | |
| unsigned | myMaxThreads |
| unsigned | myUsedThreads |
|
inline |
|
inline |
References maxThreads(), and myMaxThreads.
|
inline |
References myMaxThreads.
Referenced by setMaxThreads().
|
inline |
References myMaxThreads, and myUsedThreads.
|
inline |
References myUsedThreads.
|
inline |
References myUsedThreads.
|
private |
Referenced by claimThread(), maxThreads(), and setMaxThreads().
|
private |
Referenced by claimThread(), releaseAllThreads(), and releaseThread().