Panda3D
|
Public Member Functions | |
__init__ (self, timeslice=None) | |
__repr__ (self) | |
add (self, job) | |
destroy (self) | |
finish (self, job) | |
getTimeslice (self) | |
remove (self, job) | |
setTimeslice (self, timeslice) | |
Static Public Member Functions | |
getDefaultTimeslice () | |
Static Public Attributes | |
notify = directNotify.newCategory("JobManager") | |
str | TaskName = 'jobManager' |
Protected Member Functions | |
_getSortedPriorities (self) | |
_process (self, task=None) | |
Protected Attributes | |
_highestPriority | |
_jobId2overflowTime | |
_jobId2pri | |
_jobId2timeslices | |
_jobIdGenerator | |
_pri2jobId2job | |
_pri2jobIds | |
_process | |
_timeslice | |
_useOverflowTime | |
Similar to the taskMgr but designed for tasks that are CPU-intensive and/or not time-critical. Jobs run in a fixed timeslice that the JobManager is allotted each frame.
__init__ | ( | self, | |
timeslice = None ) |
__repr__ | ( | self | ) |
|
protected |
|
protected |
add | ( | self, | |
job ) |
destroy | ( | self | ) |
finish | ( | self, | |
job ) |
|
static |
getTimeslice | ( | self | ) |
remove | ( | self, | |
job ) |
setTimeslice | ( | self, | |
timeslice ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |