|
void | SignalFileBytesRead (QByteArray bytes) |
|
void | SignalFileBytesReadEnd () |
|
void | SignalFileBytesReadNext () |
|
void | SignalTaskFinished () |
|
void | SignalTaskPostFinishedDone () |
|
|
| FileReadTask (std::string path) |
|
void | Run () override |
| Run - run the task.
|
|
| Task () |
| Construct a new Task object. More...
|
|
| Task (TaskCallback callback, DataObjectPtr data_object=nullptr) |
| Construct a new Task object. More...
|
|
| Task (TaskRunnable runnable, TaskCallback callback=[](int, const std::shared_ptr< DataObject > &) {}, DataObjectPtr data=nullptr) |
| Construct a new Task object. More...
|
|
virtual | ~Task () override |
| Destroy the Task object.
|
|
std::string | GetUUID () const |
|
|
std::filesystem::path | read_file_path_ |
|
QFile | target_file_ |
|
const size_t | buffer_size_ = 4096 |
|
QEventLoop | looper |
|
|
using | DataObjectPtr = std::shared_ptr< DataObject > |
|
using | TaskRunnable = std::function< int(DataObjectPtr)> |
|
using | TaskCallback = std::function< void(int, DataObjectPtr)> |
|
void | SetFinishAfterRun (bool finish_after_run) |
| Set the Finish After Run object. More...
|
|
void | SetRTN (int rtn) |
|
The documentation for this class was generated from the following files: