Panda3D
Public Member Functions | Static Public Attributes

TestJob Class Reference

Inheritance diagram for TestJob:
Job

List of all members.

Public Member Functions

def __init__
def destroy
def finished
def getFinishedEvent
def getJobName
def getPriority
def isFinished
def printingBegin
def printingEnd
def resume
def run
def setPriority
def suspend

Static Public Attributes

 Continue = None
tuple Done = object()
tuple Priorities = ScratchPad(Min=1, Low=100, Normal=1000, High=10000)
tuple Sleep = object()

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def destroy (   self) [inherited]
def finished (   self) [inherited]
def getFinishedEvent (   self) [inherited]
def getJobName (   self) [inherited]
def getPriority (   self) [inherited]
def isFinished (   self) [inherited]
def printingBegin (   self) [inherited]
def printingEnd (   self) [inherited]
def resume (   self) [inherited]
if self._printing:
    # we may be suspended/resumed multiple times per frame, that gets spammy
    # if we need to pick out the output of a job, put a prefix onto each line
    # of the output
    print 'JOB:%s:RESUME' % self._name
    
def run (   self)

Reimplemented from Job.

def setPriority (   self,
  priority 
) [inherited]
def suspend (   self) [inherited]
if self._printing:
    #print 'JOB:%s:SUSPEND' % self._name
    pass
    

Member Data Documentation

Continue = None [static, inherited]
tuple Done = object() [static, inherited]
tuple Priorities = ScratchPad(Min=1, Low=100, Normal=1000, High=10000) [static, inherited]
tuple Sleep = object() [static, inherited]
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties