Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Attributes

# Job Class Reference

Inheritance diagram for 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,
|  |  | name
| ) |  |

## Member Function Documentation

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 | ) |

    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 in TestJob.

def setPriority | ( |  | self,
|  |  | priority
| ) |  |

def suspend | ( |  | self | ) |

    if self._printing:
        #print 'JOB:%s:SUSPEND' % self._name
        pass

## Member Data Documentation

Continue = None`[static]`

tuple Done = object()`[static]`

tuple Priorities = ScratchPad(Min=1, Low=100, Normal=1000, High=10000)`[static]`

tuple Sleep = object()`[static]`

All Classes Namespaces Functions Variables Enumerations Enumerator Properties