|
void | SignalFileBytesRead (QByteArray bytes) |
|
void | SignalFileBytesReadEnd () |
|
void | SignalFileBytesReadNext () |
|
void | SignalRun () |
|
void | SignalTaskShouldEnd (int) |
|
void | SignalTaskEnd () |
|
|
| FileReadTask (QString path) |
|
int | Run () override |
| can be overwrite by subclass More...
|
|
| Task (QString name) |
| Construct a new Task object.
|
|
| Task (TaskRunnable runnable, QString name, DataObjectPtr data_object=nullptr) |
| Construct a new Task object. More...
|
|
| Task (TaskRunnable runnable, QString name, DataObjectPtr data, TaskCallback callback) |
| Construct a new Task object. More...
|
|
| ~Task () override |
| Destroy the Task object.
|
|
auto | GetUUID () const -> QString |
|
auto | GetFullID () const -> QString |
| Get the Full I D object. More...
|
|
void | HoldOnLifeCycle (bool hold_on) |
|
auto | GetRTN () |
|
|
QString | read_file_path_ |
|
QFile | target_file_ |
|
QEventLoop | looper |
|
|
using | TaskRunnable = std::function< int(DataObjectPtr)> |
|
using | TaskCallback = std::function< void(int, DataObjectPtr)> |
|
void | SafelyRun () |
| shouldn't be overwrite by subclass
|
|
void | setRTN (int rtn) |
|
◆ Run()
auto GpgFrontend::UI::FileReadTask::Run |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: