Public Member Functions | Static Public Attributes | List of all members
Job Class Reference
Inheritance diagram for Job:
DirectObject CheckContainers ContainerLeakDetector FindContainers FPTObjsNamed FPTObjsOfType PruneObjectRefs ContainerReport GarbageReport TestJob _MessageListenerTypeLeakDetectorCreator _MessageTypeLeakDetectorCreator MessengerLeakDetector ReferrerSearch

Public Member Functions

def __init__ (self, name)
def destroy (self)
def finished (self)
def getFinishedEvent (self)
def getJobName (self)
def getPriority (self)
def isFinished (self)
def printingBegin (self)
def printingEnd (self)
def resume (self)
def run (self)
def setPriority (self, priority)
def suspend (self)
- Public Member Functions inherited from DirectObject
def __init__ (self)
def accept (self, event, method, extraArgs=[])
def acceptOnce (self, event, method, extraArgs=[])
def addTask (self, *args, **kwargs)
def detectLeaks (self)
def doMethodLater (self, *args, **kwargs)
def getAllAccepting (self)
def ignore (self, event)
def ignoreAll (self)
def isAccepting (self, event)
def isIgnoring (self, event)
def removeAllTasks (self)
def removeTask (self, taskOrName)

Static Public Attributes

 Continue = None
 Done = object()
 Priorities = ScratchPad(Min=1, Low=100, Normal=1000, High=10000)
 Sleep = object()
- Static Public Attributes inherited from DirectObject
def accept_once = acceptOnce
def add_task = addTask
def detect_leaks = detectLeaks
def do_method_later = doMethodLater
def get_all_accepting = getAllAccepting
def ignore_all = ignoreAll
def is_accepting = isAccepting
def is_ignoring = isIgnoring
def remove_all_tasks = removeAllTasks
def remove_task = removeTask

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,

Member Function Documentation

◆ destroy()

def destroy (   self)

◆ finished()

def finished (   self)

◆ getFinishedEvent()

def getFinishedEvent (   self)

◆ getJobName()

def getJobName (   self)

◆ getPriority()

def getPriority (   self)

◆ isFinished()

def isFinished (   self)

◆ printingBegin()

def printingBegin (   self)

◆ printingEnd()

def printingEnd (   self)

◆ resume()

def resume (   self)
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

◆ run()

def run (   self)

◆ setPriority()

def setPriority (   self,

◆ suspend()

def suspend (   self)
if self._printing:
    #print 'JOB:%s:SUSPEND' % self._name

Member Data Documentation

◆ Continue

Continue = None

◆ Done

Done = object()

◆ Priorities

Priorities = ScratchPad(Min=1, Low=100, Normal=1000, High=10000)

◆ Sleep

Sleep = object()