iVS3D v2.0.0
Loading...
Searching...
No Matches
OpenExecutor Class Reference

The OpenExecutor class tries to import files from given path. It does this in a concurrent thread and reports the import progress using signals. More...

#include <openexecutor.h>

Inheritance diagram for OpenExecutor:

Public Slots

void slot_abort ()
 [slot] slot_abort calls destructor and aborts current data retrieval
 

Signals

void sig_finished (int result)
 [signal] sig_finished signals the connected element that it is done
 

Public Member Functions

 OpenExecutor (const QString &pathToOpen, DataManager *dataManager)
 OpenExecutor Constructor, which stores the given pathToOpen and dataManger pointer as members.
 
 ~OpenExecutor ()
 ~OpenExecuter Destructor, which disconnects the futureWatcher and deletes it
 
void open ()
 open uses the given DataManger to open the file (defined through pathToOpen) in a seperate thread
 

Private Slots

void slot_finished ()
 [slot] slot_finished emits sig_process to show that it is done
 

Detailed Description

The OpenExecutor class tries to import files from given path. It does this in a concurrent thread and reports the import progress using signals.

Author
Dominik Wüst
Date
2021/03/02

Constructor & Destructor Documentation

◆ OpenExecutor()

OpenExecutor::OpenExecutor ( const QString &  pathToOpen,
DataManager dataManager 
)

OpenExecutor Constructor, which stores the given pathToOpen and dataManger pointer as members.

Parameters
pathToOpenis the path to a file, which should be opened
dataManageris usde to open the file

Member Function Documentation

◆ sig_finished

void OpenExecutor::sig_finished ( int  result)
signal

[signal] sig_finished signals the connected element that it is done

Parameters
result,whichshows if the progress was successfull

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