Uranium
Application Framework
 All Classes Namespaces Files Functions Variables Pages
UM.Mesh.WriteMeshJob.WriteMeshJob Class Reference

A Job subclass that performs mesh writing. More...

Inheritance diagram for UM.Mesh.WriteMeshJob.WriteMeshJob:
UM.FileHandler.WriteFileJob.WriteFileJob UM.Job.Job

Public Member Functions

def __init__
 Creates a new job for writing meshes. More...
 
- Public Member Functions inherited from UM.FileHandler.WriteFileJob.WriteFileJob
def __init__
 Creates a new job for writing. More...
 
def setFileName
 
def getFileName
 
def getStream
 
def setMessage
 Set the message associated with this job.
 
def getMessage
 
def setAddToRecentFiles
 
def getAddToRecentFiles
 
def run
 
- Public Member Functions inherited from UM.Job.Job
def __init__
 
def run
 Perform the actual task of this job. More...
 
def getMessage
 
def setMessage
 
def getResult
 Get the result of the job. More...
 
def setResult
 Set the result of this job. More...
 
def setError
 Set an exception that was thrown while the job was being executed. More...
 
def start
 Start the job. More...
 
def cancel
 Cancel the job. More...
 
def isRunning
 Check whether the job is currently running. More...
 
def isFinished
 Check whether the job has finished processing. More...
 
def hasError
 Check whether the Job has encountered an error during execution. More...
 
def getError
 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
tuple finished = Signal()
 Emitted when the job has finished processing. More...
 
tuple progress = Signal()
 Emitted when the job processing has progressed. More...
 

Detailed Description

A Job subclass that performs mesh writing.

The result of this Job is a MeshData object.

Constructor & Destructor Documentation

def UM.Mesh.WriteMeshJob.WriteMeshJob.__init__ (   self,
  writer,
  stream,
  nodes,
  mode 
)

Creates a new job for writing meshes.

Parameters
writerThe file writer to use, with the correct MIME type.
streamThe output stream to write to.
nodesA collection of nodes to write to the stream.
modeAdditional information to send to the writer, such as whether to write in binary format or in ASCII format.

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