Uranium
Application Framework
|
Protected class that ensures that the mesh for the machine platform is loaded. More...
Public Member Functions | |
__init__ (self, file_name) | |
run (self) | |
Perform the actual task of this job. | |
![]() | |
__init__ (self) | |
run (self) | |
Perform the actual task of this job. | |
getResult (self) | |
Get the result of the job. | |
setResult (self, any result) | |
Set the result of this job. | |
setError (self, Exception error) | |
Set an exception that was thrown while the job was being executed. | |
start (self) | |
Start the job. | |
cancel (self) | |
Cancel the job. | |
bool | isRunning (self) |
Check whether the job is currently running. | |
bool | isFinished (self) |
Check whether the job has finished processing. | |
bool | hasError (self) |
Check whether the Job has encountered an error during execution. | |
Exception | getError (self) |
Get the error that was encountered during execution. | |
Protected Attributes | |
_file_name | |
_mesh_handler | |
![]() | |
_running | |
_finished | |
_result | |
_error | |
Additional Inherited Members | |
![]() | |
yieldThread () | |
Utility function that allows us to yield thread processing. | |
![]() | |
finished = Signal() | |
Emitted when the job has finished processing. | |
progress = Signal() | |
Emitted when the job processing has progressed. | |
Protected class that ensures that the mesh for the machine platform is loaded.
UM.Scene.Platform._LoadPlatformJob.__init__ | ( | self, | |
file_name | |||
) |
Reimplemented from UM.Job.Job.
UM.Scene.Platform._LoadPlatformJob.run | ( | self | ) |
Perform the actual task of this job.
Should be reimplemented by subclasses.
NotImplementedError |
Reimplemented from UM.Job.Job.