A class which synchronously waits for a QtlDataPull.
More...
A class which synchronously waits for a QtlDataPull.
◆ QtlDataPullSynchronousWrapper() [1/3]
QtlDataPullSynchronousWrapper::QtlDataPullSynchronousWrapper |
( |
QtlDataPull * |
dataPull, |
|
|
QIODevice * |
device, |
|
|
QObject * |
parent = 0 |
|
) |
| |
Synchronous contructor starting a QtlDataPull and waiting for its completion.
- Parameters
-
[in] | dataPull | The QtlDataPull instance to start. |
[in] | device | Data destination. Must be open for write. |
[in] | parent | Optional parent object. |
◆ QtlDataPullSynchronousWrapper() [2/3]
QtlDataPullSynchronousWrapper::QtlDataPullSynchronousWrapper |
( |
QtlDataPull * |
dataPull, |
|
|
const QList< QIODevice *> & |
devices, |
|
|
QObject * |
parent = 0 |
|
) |
| |
Synchronous contructor starting a QtlDataPull and waiting for its completion.
- Parameters
-
[in] | dataPull | The QtlDataPull instance to start. |
[in] | devices | Data destinations. Must be open for write. |
[in] | parent | Optional parent object. |
◆ QtlDataPullSynchronousWrapper() [3/3]
QtlDataPullSynchronousWrapper::QtlDataPullSynchronousWrapper |
( |
| ) |
|
|
private |
◆ success()
bool QtlDataPullSynchronousWrapper::success |
( |
| ) |
const |
|
inline |
◆ completed
void QtlDataPullSynchronousWrapper::completed |
( |
bool |
success | ) |
|
|
privateslot |
Invoked when the transfer is completed on all devices.
- Parameters
-
[in] | success | True if all data were successfully transmitted. |
◆ _loop
QEventLoop QtlDataPullSynchronousWrapper::_loop |
|
private |
Internal event loop for synchronous wait.
◆ _success
bool QtlDataPullSynchronousWrapper::_success |
|
private |
The documentation for this class was generated from the following files: