Panda3D
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
JobManager Class Reference

Public Member Functions

def __init__ (self, timeslice=None)
 
def __repr__ (self)
 
def add (self, job)
 
def destroy (self)
 
def finish (self, job)
 
def getTimeslice (self)
 
def remove (self, job)
 
def setTimeslice (self, timeslice)
 

Static Public Member Functions

def getDefaultTimeslice ()
 

Static Public Attributes

 notify = directNotify.newCategory("JobManager")
 
string TaskName = 'jobManager'
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  timeslice = None 
)

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

◆ add()

def add (   self,
  job 
)

◆ destroy()

def destroy (   self)

◆ finish()

def finish (   self,
  job 
)

◆ getDefaultTimeslice()

def getDefaultTimeslice ( )
static

◆ getTimeslice()

def getTimeslice (   self)

◆ remove()

def remove (   self,
  job 
)

◆ setTimeslice()

def setTimeslice (   self,
  timeslice 
)

Member Data Documentation

◆ notify

notify = directNotify.newCategory("JobManager")
static

◆ TaskName

string TaskName = 'jobManager'
static