| CMakeLists.txt |
|
1599 |
- |
| doc |
|
|
- |
| qbarriertask.cpp |
!
\class QtTaskTree::QBarrier
\inheaderfile qbarriertask.h
\inmodule QtTaskTree
\brief An asynchronous task that finishes on demand.
\reentrant
QBarrier waits for subsequent calls to \l advance() to reach
the barrier's limit (1 by default). It finishes with
\l {QtTaskTree::} {DoneResult::Success}.
It's often used in QTaskTree recipes to hold the execution of subsequent
sequential tasks until some other running task delivers
some data which are needed to setup the subsequent tasks.
|
11441 |
- |
| qbarriertask.h |
|
4113 |
- |
| qconditional.cpp |
!
\class QtTaskTree::If
\inheaderfile qconditional.h
\inmodule QtTaskTree
\brief An "if" element used in conditional expressions.
\reentrant
An initial condition element of the conditional expressions.
Must always be followed by \l Then element.
The conditional expressions in the TaskTree module enable processing of
branch conditions and their bodies in an asynchronous way. For example:
\code
const Group recipe {
If (conditionTask1) >> Then {
bodyTask1
} >> ElseIf (conditionTask2) >> Then {
bodyTask2
} >> Else {
bodyTask3
}
};
\endcode
When the above recipe is run with QTaskTree, the task tree starts the
asynchronous \c conditionTask1 first. After it's finished,
depending on the result, the task tree may either execute the
\c bodyTask1 when the \c conditionTask1 finished with success,
or dispatch another condition by executing \c conditionTask2 otherwise.
In case the \c bodyTask1 is executed, no other tasks are executed,
and the result of \c bodyTask1 is the final result of the whole
conditional expression.
\sa Then, Else, ElseIf
|
10792 |
- |
| qconditional.h |
|
4867 |
- |
| qnetworkreplywrappertask.cpp |
!
\class QtTaskTree::QNetworkReplyWrapper
\inheaderfile qnetworkwrappertask.h
\inmodule QtTaskTree
\brief A wrapper around QNetworkReply and QNetworkAccessManager.
\reentrant
QNetworkReplyWrapper is a convenient class combining QNetworkAccessManager
and QNetworkReply.
The mandatory configuration is to call setNetworkAccessManager()
and setRequest(). By default the QNetworkReplyWrapper is configured
with QNetworkAccessManager::GetOperation. Use setOperation() to perform
other operations. Use setData() when the configured operation is
Put, Post or Custom. Use setVerb() when the configured operation is Custom.
The associated QNetworkReply may be accessed via reply() method.
The QNetworkReply is created dynamically by the start() method and
managed by QNetworkReplyWrapper.
It is deleted just after emitting done() signal.
|
7004 |
- |
| qnetworkreplywrappertask.h |
|
1610 |
- |
| qprocesstask.cpp |
|
10217 |
- |
| qprocesstask.h |
|
1021 |
- |
| qtasktree.cpp |
!
\namespace QtTaskTree
\inmodule QtTaskTree
\brief The QtTaskTree namespace encloses all classes and global
functions of the TaskTree module.
|
180100 |
- |
| qtasktree.h |
end |
34897 |
- |
| qtasktreerunner.cpp |
!
\typealias QtTaskTree::TreeSetupHandler
Type alias for std::function<void(QTaskTree &)>.
The \c TreeSetupHandler is an optional argument of
task tree runners' functions scheduling the task tree execution.
The function is called when the task tree runner is about
to execute it's recipe. The access to the QTaskTree is via
the passed argument.
The task tree runners accept also handlers in a shortened form
of \c std::function<void(void)>.
|
14832 |
- |
| qtasktreerunner.h |
|
9206 |
- |
| qtcpsocketwrappertask.cpp |
!
\class QtTaskTree::QTcpSocketWrapper
\inheaderfile qtcpsocketwrappertask.h
\inmodule QtTaskTree
\brief A wrapper around QTcpSocket.
\reentrant
QTcpSocketWrapper is a convenient wrapper around QTcpSocket.
Configure the QTcpSocketWrapper with setAddress(), setPort(),
and setData() before calling start().
The wrapped QTcpSocket may be accessed via socket() method.
The QTcpSocket is created dynamically by the start() method and
managed by QTcpSocketWrapper. It is deleted just after emitting
done() signal.
|
4699 |
- |
| qtcpsocketwrappertask.h |
|
1230 |
- |
| qthreadfunctiontask.cpp |
!
\class QtTaskTree::QThreadFunctionBase
\inheaderfile qthreadfunctiontask.h
\inmodule QtTaskTree
\brief A base class for QThreadFunction class template.
\reentrant
|
13338 |
- |
| qthreadfunctiontask.h |
|
4559 |
- |
| qttasktreeglobal.h |
|
379 |
- |