java.lang.Object
io.qt.QtObject
io.qt.core.QSemaphoreReleaser
- All Implemented Interfaces:
QtObjectInterface
,AutoCloseable
Exception-safe deferral of a QSemaphore::release() call
Java wrapper for Qt class QSemaphoreReleaser
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQSemaphoreReleaser(io.qt.core.QSemaphore, int)
withn = 1
.QSemaphoreReleaser
(QSemaphore sem, int n) -
Method Summary
Modifier and TypeMethodDescriptionfinal QSemaphore
cancel()
final void
close()
Deletes the underlying native object.final QSemaphore
final void
swap
(QSemaphoreReleaser other) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSemaphoreReleaser
public QSemaphoreReleaser() -
QSemaphoreReleaser
- Parameters:
sem
-n
-
-
QSemaphoreReleaser
Overloaded constructor for
QSemaphoreReleaser(io.qt.core.QSemaphore, int)
withn = 1
.
-
-
Method Details
-
cancel
- Returns:
-
semaphore
- Returns:
-
swap
- Parameters:
other
-
-
close
Deletes the underlying native object.- Specified by:
close
in interfaceAutoCloseable
-