Uranium
Application Framework
|
A Job subclass that performs mesh loading. More...
Public Member Functions | |
def | __init__ (self, filename) |
def | run (self) |
Perform the actual task of this job. More... | |
![]() | |
None | __init__ (self, str filename, Optional[FileHandler] handler=None) |
def | getFileName (self) |
![]() | |
None | __init__ (self) |
str | getMessage (self) |
None | setMessage (self, str message) |
Any | getResult (self) |
Get the result of the job. More... | |
None | setResult (self, Any result) |
Set the result of this job. More... | |
None | setError (self, Exception error) |
Set an exception that was thrown while the job was being executed. More... | |
None | start (self) |
Start the job. More... | |
None | cancel (self) |
Cancel the job. More... | |
bool | isRunning (self) |
Check whether the job is currently running. More... | |
bool | isFinished (self) |
Check whether the job has finished processing. More... | |
bool | hasError (self) |
Check whether the Job has encountered an error during execution. More... | |
Optional[Exception] | getError (self) |
Get the error that was encountered during execution. More... | |
Additional Inherited Members | |
![]() | |
None | yieldThread () |
Utility function that allows us to yield thread processing. More... | |
![]() | |
finished = Signal() | |
Emitted when the job has finished processing. More... | |
progress = Signal() | |
Emitted when the job processing has progressed. More... | |
A Job subclass that performs mesh loading.
The result of this Job is a MeshData object.
def UM.Mesh.ReadMeshJob.ReadMeshJob.run | ( | self | ) |
Perform the actual task of this job.
Should be reimplemented by subclasses.
NotImplementedError |
Reimplemented from UM.FileHandler.ReadFileJob.ReadFileJob.