java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QSystemSemaphore
- All Implemented Interfaces:
QtObjectInterface
public class QSystemSemaphore extends QtObject
General counting system semaphore
Java wrapper for Qt class QSystemSemaphore
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QSystemSemaphore.AccessMode
Java wrapper for Qt enum QSystemSemaphore::AccessModestatic class
QSystemSemaphore.SystemSemaphoreError
Java wrapper for Qt enum QSystemSemaphore::SystemSemaphoreError -
Constructor Summary
Constructors Modifier Constructor Description protected
QSystemSemaphore(QtObject.QPrivateConstructor p)
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 Type Method Description boolean
acquire()
QSystemSemaphore.SystemSemaphoreError
error()
String
errorString()
String
key()
boolean
release()
Overloaded function forrelease(int)
withn = 1
.boolean
release(int n)
void
setKey(String key)
Overloaded function forsetKey(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode)
void
setKey(String key, int initialValue)
Overloaded function forsetKey(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode)
withmode = io.qt.core.QSystemSemaphore.AccessMode.Open
.void
setKey(String key, int initialValue, QSystemSemaphore.AccessMode mode)
-
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)
-