Uranium
Application Framework
Loading...
Searching...
No Matches
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)
 getFileName (self)
 getAddToRecentFiles (self)
None run (self)
Public Member Functions inherited from UM.Job.Job
None __init__ (self)
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)

Protected Attributes

 _filename = filename
 _handler = handler
 _loading_message = None
 _add_to_recent_files = add_to_recent_files
Protected Attributes inherited from UM.Job.Job
bool _running = False
bool _finished = False
 _result = None
 _message = None
 _error = None

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:
  • UM/FileHandler/ReadFileJob.py