java.lang.Object
io.qt.QtObject
io.qt.core.QSystemSemaphore
- All Implemented Interfaces:
QtObjectInterface
General counting system semaphore
Java wrapper for Qt class QSystemSemaphore
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSystemSemaphore::AccessMode
static enum
Java wrapper for Qt enumQSystemSemaphore::SystemSemaphoreError
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQSystemSemaphore
(String key) Overloaded constructor forQSystemSemaphore(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode)
QSystemSemaphore
(String key, int initialValue) Overloaded constructor forQSystemSemaphore(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode)
withmode = io.qt.core.QSystemSemaphore.AccessMode.Open
.QSystemSemaphore
(String key, int initialValue, QSystemSemaphore.AccessMode mode) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
acquire()
error()
final String
final String
key()
final boolean
release()
Overloaded function forrelease(int)
withn = 1
.final boolean
release
(int n) final void
Overloaded function forsetKey(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode)
final void
Overloaded function forsetKey(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode)
withmode = io.qt.core.QSystemSemaphore.AccessMode.Open
.final void
setKey
(String key, int initialValue, QSystemSemaphore.AccessMode mode) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSystemSemaphore
-
QSystemSemaphore
Overloaded constructor for
QSystemSemaphore(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode)
withmode = io.qt.core.QSystemSemaphore.AccessMode.Open
. -
QSystemSemaphore
Overloaded constructor for
QSystemSemaphore(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode)
with:
initialValue = 0
mode = io.qt.core.QSystemSemaphore.AccessMode.Open
-
-
Method Details
-
acquire
-
error
-
errorString
-
key
-
release
-
setKey
@QtUninvokable public final void setKey(String key, int initialValue, QSystemSemaphore.AccessMode mode) -
release
Overloaded function for
release(int)
withn = 1
. -
setKey
Overloaded function for
setKey(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode)
withmode = io.qt.core.QSystemSemaphore.AccessMode.Open
. -
setKey
Overloaded function for
setKey(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode)
with:
initialValue = 0
mode = io.qt.core.QSystemSemaphore.AccessMode.Open
-