- 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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
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) Overloaded constructor forQSystemSemaphore(io.qt.core.QNativeIpcKey, int, io.qt.core.QSystemSemaphore.AccessMode)
QSystemSemaphore
(QNativeIpcKey key, int initialValue) Overloaded constructor forQSystemSemaphore(io.qt.core.QNativeIpcKey, int, io.qt.core.QSystemSemaphore.AccessMode)
witharg__3 = io.qt.core.QSystemSemaphore.AccessMode.Open
.QSystemSemaphore
(QNativeIpcKey key, int initialValue, QSystemSemaphore.AccessMode arg__3) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
acquire()
error()
final String
static boolean
SeeQSystemSemaphore::
isKeyTypeSupported(QNativeIpcKey::Type) final String
key()
SeeQSystemSemaphore::
key()const static QNativeIpcKey
legacyNativeKey
(String key) Overloaded function forlegacyNativeKey(java.lang.String, io.qt.core.QNativeIpcKey.Type)
withtype = io.qt.core.QNativeIpcKey.legacyDefaultTypeForOs()
.static QNativeIpcKey
legacyNativeKey
(String key, QNativeIpcKey.Type type) SeeQSystemSemaphore::
legacyNativeKey(QString, QNativeIpcKey::Type) final QNativeIpcKey
static QNativeIpcKey
platformSafeKey
(String key) Overloaded function forplatformSafeKey(java.lang.String, io.qt.core.QNativeIpcKey.Type)
withtype = io.qt.core.QNativeIpcKey.DefaultTypeForOs
.static QNativeIpcKey
platformSafeKey
(String key, QNativeIpcKey.Type type) SeeQSystemSemaphore::
platformSafeKey(QString, QNativeIpcKey::Type) 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) SeeQSystemSemaphore::
setKey(QString, int, QSystemSemaphore::AccessMode) final void
setNativeKey
(String key) final void
setNativeKey
(String key, int initialValue) final void
setNativeKey
(String key, int initialValue, QSystemSemaphore.AccessMode mode) Overloaded function forsetNativeKey(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode, io.qt.core.QNativeIpcKey.Type)
withtype = io.qt.core.QNativeIpcKey.legacyDefaultTypeForOs()
.final void
setNativeKey
(String key, int initialValue, QSystemSemaphore.AccessMode mode, QNativeIpcKey.Type type) final void
Overloaded function forsetNativeKey(io.qt.core.QNativeIpcKey, int, io.qt.core.QSystemSemaphore.AccessMode)
final void
setNativeKey
(QNativeIpcKey key, int initialValue) Overloaded function forsetNativeKey(io.qt.core.QNativeIpcKey, int, io.qt.core.QSystemSemaphore.AccessMode)
witharg__3 = io.qt.core.QSystemSemaphore.AccessMode.Open
.final void
setNativeKey
(QNativeIpcKey key, int initialValue, QSystemSemaphore.AccessMode arg__3) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QSystemSemaphore
-
QSystemSemaphore
-
QSystemSemaphore
Overloaded constructor for
QSystemSemaphore(io.qt.core.QNativeIpcKey, int, io.qt.core.QSystemSemaphore.AccessMode)
witharg__3 = io.qt.core.QSystemSemaphore.AccessMode.Open
. -
QSystemSemaphore
Overloaded constructor for
QSystemSemaphore(io.qt.core.QNativeIpcKey, int, io.qt.core.QSystemSemaphore.AccessMode)
with:
initialValue = 0
arg__3 = io.qt.core.QSystemSemaphore.AccessMode.Open
-
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
See
QSystemSemaphore::
key()const -
nativeIpcKey
-
release
-
setKey
@QtUninvokable public final void setKey(String key, int initialValue, QSystemSemaphore.AccessMode mode) See
QSystemSemaphore::
setKey(QString, int, QSystemSemaphore::AccessMode) -
setNativeKey
@QtUninvokable public final void setNativeKey(QNativeIpcKey key, int initialValue, QSystemSemaphore.AccessMode arg__3) -
setNativeKey
@QtUninvokable public final void setNativeKey(String key, int initialValue, QSystemSemaphore.AccessMode mode, QNativeIpcKey.Type type) -
isKeyTypeSupported
See
QSystemSemaphore::
isKeyTypeSupported(QNativeIpcKey::Type) -
legacyNativeKey
See
QSystemSemaphore::
legacyNativeKey(QString, QNativeIpcKey::Type) -
platformSafeKey
See
QSystemSemaphore::
platformSafeKey(QString, QNativeIpcKey::Type) -
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
-
setNativeKey
Overloaded function for
setNativeKey(io.qt.core.QNativeIpcKey, int, io.qt.core.QSystemSemaphore.AccessMode)
witharg__3 = io.qt.core.QSystemSemaphore.AccessMode.Open
. -
setNativeKey
Overloaded function for
setNativeKey(io.qt.core.QNativeIpcKey, int, io.qt.core.QSystemSemaphore.AccessMode)
with:
initialValue = 0
arg__3 = io.qt.core.QSystemSemaphore.AccessMode.Open
-
setNativeKey
@QtUninvokable public final void setNativeKey(String key, int initialValue, QSystemSemaphore.AccessMode mode) Overloaded function for
setNativeKey(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode, io.qt.core.QNativeIpcKey.Type)
withtype = io.qt.core.QNativeIpcKey.legacyDefaultTypeForOs()
. -
setNativeKey
Overloaded function for
setNativeKey(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode, io.qt.core.QNativeIpcKey.Type)
with:
mode = io.qt.core.QSystemSemaphore.AccessMode.Open
type = io.qt.core.QNativeIpcKey.legacyDefaultTypeForOs()
-
setNativeKey
Overloaded function for
setNativeKey(java.lang.String, int, io.qt.core.QSystemSemaphore.AccessMode, io.qt.core.QNativeIpcKey.Type)
with:
initialValue = 0
mode = io.qt.core.QSystemSemaphore.AccessMode.Open
type = io.qt.core.QNativeIpcKey.legacyDefaultTypeForOs()
-
legacyNativeKey
Overloaded function for
legacyNativeKey(java.lang.String, io.qt.core.QNativeIpcKey.Type)
withtype = io.qt.core.QNativeIpcKey.legacyDefaultTypeForOs()
. -
platformSafeKey
Overloaded function for
platformSafeKey(java.lang.String, io.qt.core.QNativeIpcKey.Type)
withtype = io.qt.core.QNativeIpcKey.DefaultTypeForOs
.
-