![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Implements ctkCmdLineModuleFutureInterface to enabling running a command line application asynchronously. More...
#include <Libs/CommandLineModules/Backend/LocalProcess/ctkCmdLineModuleProcessTask.h>


Public Member Functions | |
| ctkCmdLineModuleProcessTask (const QString &location, const QStringList &args) | |
| void | run () |
| ctkCmdLineModuleFuture | start () |
| ~ctkCmdLineModuleProcessTask () | |
Public Member Functions inherited from QFutureInterface< ctkCmdLineModuleResult > | |
| bool | canCancel () const |
| bool | canPause () const |
| QByteArray | errorData (int position=0, int size=-1) const |
| ctkCmdLineModuleFuture | future () |
| QFutureInterface & | operator= (const QFutureInterface &other) |
| QByteArray | outputData (int position=0, int size=-1) const |
| QFutureInterface (const QFutureInterface &other) | |
| QFutureInterface (State initialState=NoState) | |
| void | reportErrorData (const QByteArray &errorData) |
| void | reportFinished (const ctkCmdLineModuleResult *result=0) |
| void | reportOutputData (const QByteArray &outputData) |
| void | reportResult (const ctkCmdLineModuleResult &result, int index=-1) |
| void | reportResult (const ctkCmdLineModuleResult *result, int index=-1) |
| void | reportResults (const QVector< ctkCmdLineModuleResult > &results, int beginIndex=-1, int count=-1) |
| const ctkCmdLineModuleResult * | resultPointer (int index) const |
| const ctkCmdLineModuleResult & | resultReference (int index) const |
| QList< ctkCmdLineModuleResult > | results () |
| void | setCanCancel (bool canCancel) |
| void | setCanPause (bool canPause) |
| ~QFutureInterface () | |
Additional Inherited Members | |
Static Public Member Functions inherited from QFutureInterface< ctkCmdLineModuleResult > | |
| static QFutureInterface | canceledResult () |
Implements ctkCmdLineModuleFutureInterface to enabling running a command line application asynchronously.
Definition at line 46 of file ctkCmdLineModuleProcessTask.h.
| ctkCmdLineModuleProcessTask::ctkCmdLineModuleProcessTask | ( | const QString & | location, |
| const QStringList & | args | ||
| ) |
| ctkCmdLineModuleProcessTask::~ctkCmdLineModuleProcessTask | ( | ) |
| void ctkCmdLineModuleProcessTask::run | ( | ) |
| ctkCmdLineModuleFuture ctkCmdLineModuleProcessTask::start | ( | ) |