java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QSystemSemaphore
- All Implemented Interfaces:
QtObjectInterface
General counting system semaphore
Java wrapper for Qt's class QSystemSemaphore
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QSystemSemaphore::AccessModestatic enum
Java wrapper for Qt enum QSystemSemaphore::SystemSemaphoreErrorNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.QSystemSemaphore
(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
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
-
QSystemSemaphore
-
QSystemSemaphore
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
acquire
-
error
-
errorString
-
key
-
release
Overloaded function for
release(int)
withn = 1
. -
release
-
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
-
setKey
@QtUninvokable public final void setKey(String key, int initialValue, QSystemSemaphore.AccessMode mode)
-