java.lang.Object
io.qt.QtObject
io.qt.core.QFutureInterfaceBase
io.qt.core.QFutureInterface<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Java wrapper for Qt class QFutureInterface
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QFutureInterfaceBase
QFutureInterfaceBase.CancelMode, QFutureInterfaceBase.State
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQFutureInterface(io.qt.core.QFutureInterfaceBase.State)
withinitialState = io.qt.core.QFutureInterfaceBase.State.NoState
.QFutureInterface
(QFutureInterface<T> other) QFutureInterface
(QFutureInterfaceBase.State initialState) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> QFutureInterface<T>
clone()
Creates and returns a copy of this object.static QFutureInterface<Void>
Overloaded factory forcreateVoidFutureInterface(io.qt.core.QFutureInterfaceBase.State)
withinitialState = io.qt.core.QFutureInterfaceBase.State.NoState
.static QFutureInterface<Void>
static QFutureInterface<Void>
createVoidFutureInterface
(QFutureInterfaceBase.State initialState) future()
final boolean
reportFinished
(T result) final boolean
reportResult
(T result) Overloaded function forreportResult(T, int)
withindex = -1
.final boolean
reportResult
(T result, int index) final boolean
reportResults
(Collection<T> results) Overloaded function forreportResults(java.util.Collection, int, int)
final boolean
reportResults
(Collection<T> results, int beginIndex) Overloaded function forreportResults(java.util.Collection, int, int)
withcount = -1
.final boolean
reportResults
(Collection<T> results, int beginIndex, int count) final T
result
(int index) results()
Methods inherited from class io.qt.core.QFutureInterfaceBase
assign, cancel, cancel, cancelAndFinish, cleanContinuation, derefT, equals, equals, expectedResultCount, hasException, hashCode, isCanceled, isChainCanceled, isFinished, isPaused, isProgressUpdateNeeded, isResultReadyAt, isRunning, isRunningOrPending, isStarted, isSuspended, isSuspending, isThrottled, isValid, launchAsync, loadState, mutex, progressMaximum, progressMinimum, progressText, progressValue, queryState, refT, reportCanceled, reportException, reportFinished, reportResultsReady, reportStarted, reportSuspended, reset, resultCount, rethrowPossibleException, runContinuation, setContinuation, setExpectedResultCount, setFilterMode, setLaunchAsync, setPaused, setProgressRange, setProgressValue, setProgressValueAndText, setRunnable, setRunnable, setSuspended, setThreadPool, setThrottled, suspendIfRequested, swap, threadPool, togglePaused, toggleSuspended, waitForFinished, waitForNextResult, waitForResult, waitForResume
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QFutureInterface
public QFutureInterface()Overloaded constructor for
QFutureInterface(io.qt.core.QFutureInterfaceBase.State)
withinitialState = io.qt.core.QFutureInterfaceBase.State.NoState
. -
QFutureInterface
-
QFutureInterface
-
-
Method Details
-
createVoidFutureInterface
Overloaded factory for
createVoidFutureInterface(io.qt.core.QFutureInterfaceBase.State)
withinitialState = io.qt.core.QFutureInterfaceBase.State.NoState
. -
createVoidFutureInterface
public static QFutureInterface<Void> createVoidFutureInterface(QFutureInterfaceBase.State initialState) -
createVoidFutureInterface
-
canceledResult
-
future
-
reportFinished
-
reportResult
Overloaded function for
reportResult(T, int)
withindex = -1
. -
reportResult
-
reportResults
Overloaded function for
reportResults(java.util.Collection, int, int)
withcount = -1
. -
reportResults
Overloaded function for
reportResults(java.util.Collection, int, int)
with:
beginIndex = -1
count = -1
-
reportResults
-
result
-
results
-
clone
Description copied from class:QFutureInterfaceBase
Creates and returns a copy of this object.
See
QFutureInterfaceBase::
QFutureInterfaceBase(QFutureInterfaceBase) - Overrides:
clone
in classQFutureInterfaceBase
-