Uranium
Application Framework
UM.FileHandler.ReadFileJob.ReadFileJob Class Reference

A Job subclass that performs file loading. More...

Inheritance diagram for UM.FileHandler.ReadFileJob.ReadFileJob:
UM.Job.Job UM.Mesh.ReadMeshJob.ReadMeshJob

Public Member Functions

def __init__ (self, filename, handler=None)
 
def getFileName (self)
 
def run (self)
 
- Public Member Functions inherited from UM.Job.Job
def __init__ (self, kwargs)
 Initialize. More...
 
def getDescription (self)
 Get the description for this job. More...
 
def isVisible (self)
 Should this job be shown in the UI. More...
 
def run (self)
 Perform the actual task of this job. More...
 
def getResult (self)
 Get the result of the job. More...
 
def setResult (self, result)
 Set the result of this job. More...
 
def setError (self, error)
 Set an exception that was thrown while the job was being executed. More...
 
def start (self)
 Start the job. More...
 
def cancel (self)
 Cancel the job. More...
 
def isRunning (self)
 Check whether the job is currently running. More...
 
def isFinished (self)
 Check whether the job has finished processing. More...
 
def hasError (self)
 Check whether the Job has encountered an error during execution. More...
 
def getError (self)
 Get the error that was encountered during execution. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from UM.Job.Job
def yieldThread ()
 Utility function that allows us to yield thread processing. More...
 
- Static Public Attributes inherited from UM.Job.Job
 finished = Signal()
 Emitted when the job has finished processing. More...
 
 progress = Signal()
 Emitted when the job processing has progressed. More...
 

Detailed Description

A Job subclass that performs file loading.


The documentation for this class was generated from the following file: