- 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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionOverloaded 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) 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
static boolean
SeeQSystemSemaphore::
isKeyTypeSupported(QNativeIpcKey::Type) final String
key()
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) 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) 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) 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
- Parameters:
key
-initialValue
-arg__3
-
-
QSystemSemaphore
- Parameters:
key
-initialValue
-mode
-
-
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
- Returns:
-
error
- Returns:
-
errorString
- Returns:
-
key
- Returns:
-
nativeIpcKey
- Returns:
-
release
- Parameters:
n
-- Returns:
-
setKey
@QtUninvokable public final void setKey(String key, int initialValue, QSystemSemaphore.AccessMode mode) - Parameters:
key
-initialValue
-mode
-
-
setNativeKey
@QtUninvokable public final void setNativeKey(QNativeIpcKey key, int initialValue, QSystemSemaphore.AccessMode arg__3) - Parameters:
key
-initialValue
-arg__3
-
-
setNativeKey
@QtUninvokable public final void setNativeKey(String key, int initialValue, QSystemSemaphore.AccessMode mode, QNativeIpcKey.Type type) - Parameters:
key
-initialValue
-mode
-type
-
-
isKeyTypeSupported
See
QSystemSemaphore::
isKeyTypeSupported(QNativeIpcKey::Type) - Parameters:
type
-- Returns:
-
legacyNativeKey
See
QSystemSemaphore::
legacyNativeKey(QString, QNativeIpcKey::Type) - Parameters:
key
-type
-- Returns:
-
platformSafeKey
See
QSystemSemaphore::
platformSafeKey(QString, QNativeIpcKey::Type) - Parameters:
key
-type
-- Returns:
-
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
.
-