Uranium
Application Framework
UM.FileHandler.ReadFileJob.ReadFileJob Class Reference
Inheritance diagram for UM.FileHandler.ReadFileJob.ReadFileJob:
UM.Job.Job UM.Mesh.ReadMeshJob.ReadMeshJob

Public Member Functions

None __init__ (self, str filename, Optional[FileHandler] handler=None, bool add_to_recent_files=True)
 
def getFileName (self)
 
def getAddToRecentFiles (self)
 
None run (self)
 
- Public Member Functions inherited from UM.Job.Job
None __init__ (self)
 
def getMessage (self)
 
None setMessage (self, message)
 
Any getResult (self)
 
None setResult (self, Any result)
 
None setError (self, Exception error)
 
None start (self)
 
None cancel (self)
 
bool isRunning (self)
 
bool isFinished (self)
 
bool hasError (self)
 
Optional[Exception] getError (self)
 

Additional Inherited Members

- Static Public Member Functions inherited from UM.Job.Job
None yieldThread ()
 
- Static Public Attributes inherited from UM.Job.Job
 finished = Signal()
 
 progress = Signal()
 

Detailed Description

A Job subclass that performs file loading.

Member Function Documentation

◆ run()

None UM.FileHandler.ReadFileJob.ReadFileJob.run (   self)
Perform the actual task of this job. Should be reimplemented by subclasses.

:exception NotImplementedError

Reimplemented from UM.Job.Job.

Reimplemented in UM.Mesh.ReadMeshJob.ReadMeshJob.


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