![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
A QFutureInterface specialization. More...
#include <Libs/CommandLineModules/Core/ctkCmdLineModuleFutureInterface.h>


Public Member Functions | |
| 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 () | |
Static Public Member Functions | |
| static QFutureInterface | canceledResult () |
Friends | |
| struct | ctkCmdLineModuleFutureWatcherPrivate |
A QFutureInterface specialization.
This QFutureInterface must be used by custom backend implementations to retrieve a suitable QFuture object and to report state changes to it via this interface.
Definition at line 50 of file ctkCmdLineModuleFutureInterface.h.
| QFutureInterface< ctkCmdLineModuleResult >::QFutureInterface | ( | State | initialState = NoState | ) |
| QFutureInterface< ctkCmdLineModuleResult >::QFutureInterface | ( | const QFutureInterface< ctkCmdLineModuleResult > & | other | ) |
| bool QFutureInterface< ctkCmdLineModuleResult >::canCancel | ( | ) | const |
|
static |
| bool QFutureInterface< ctkCmdLineModuleResult >::canPause | ( | ) | const |
| QByteArray QFutureInterface< ctkCmdLineModuleResult >::errorData | ( | int | position = 0, |
| int | size = -1 |
||
| ) | const |
|
inline |
Definition at line 79 of file ctkCmdLineModuleFuture.h.
| QFutureInterface& QFutureInterface< ctkCmdLineModuleResult >::operator= | ( | const QFutureInterface< ctkCmdLineModuleResult > & | other | ) |
| QByteArray QFutureInterface< ctkCmdLineModuleResult >::outputData | ( | int | position = 0, |
| int | size = -1 |
||
| ) | const |
| void QFutureInterface< ctkCmdLineModuleResult >::reportErrorData | ( | const QByteArray & | errorData | ) |
|
inline |
Definition at line 166 of file ctkCmdLineModuleFutureInterface.h.
| void QFutureInterface< ctkCmdLineModuleResult >::reportOutputData | ( | const QByteArray & | outputData | ) |
|
inline |
Definition at line 136 of file ctkCmdLineModuleFutureInterface.h.
|
inline |
Definition at line 111 of file ctkCmdLineModuleFutureInterface.h.
|
inline |
Definition at line 141 of file ctkCmdLineModuleFutureInterface.h.
|
inline |
Definition at line 183 of file ctkCmdLineModuleFutureInterface.h.
|
inline |
Definition at line 173 of file ctkCmdLineModuleFutureInterface.h.
|
inline |
Definition at line 193 of file ctkCmdLineModuleFutureInterface.h.
| void QFutureInterface< ctkCmdLineModuleResult >::setCanCancel | ( | bool | canCancel | ) |
| void QFutureInterface< ctkCmdLineModuleResult >::setCanPause | ( | bool | canPause | ) |
|
friend |
Definition at line 89 of file ctkCmdLineModuleFutureInterface.h.