pub struct QSystemSemaphore { /* private fields */ }Expand description
C++ class: QSystemSemaphore.
Implementations§
Source§impl QSystemSemaphore
impl QSystemSemaphore
Sourcepub unsafe fn error(&self) -> SystemSemaphoreError
pub unsafe fn error(&self) -> SystemSemaphoreError
Calls C++ function: QSystemSemaphore::SystemSemaphoreError QSystemSemaphore::error() const.
Sourcepub unsafe fn error_string(&self) -> CppBox<QString>
pub unsafe fn error_string(&self) -> CppBox<QString>
Calls C++ function: QString QSystemSemaphore::errorString() const.
Sourcepub unsafe fn key(&self) -> CppBox<QString>
pub unsafe fn key(&self) -> CppBox<QString>
Calls C++ function: QString QSystemSemaphore::key() const.
Sourcepub unsafe fn new_3a(
key: impl CastInto<Ref<QString>>,
initial_value: c_int,
mode: AccessMode,
) -> CppBox<QSystemSemaphore>
pub unsafe fn new_3a( key: impl CastInto<Ref<QString>>, initial_value: c_int, mode: AccessMode, ) -> CppBox<QSystemSemaphore>
Calls C++ function: [constructor] void QSystemSemaphore::QSystemSemaphore(const QString& key, int initialValue = …, QSystemSemaphore::AccessMode mode = …).
Sourcepub unsafe fn new_2a(
key: impl CastInto<Ref<QString>>,
initial_value: c_int,
) -> CppBox<QSystemSemaphore>
pub unsafe fn new_2a( key: impl CastInto<Ref<QString>>, initial_value: c_int, ) -> CppBox<QSystemSemaphore>
Calls C++ function: [constructor] void QSystemSemaphore::QSystemSemaphore(const QString& key, int initialValue = …).
Sourcepub unsafe fn new_1a(
key: impl CastInto<Ref<QString>>,
) -> CppBox<QSystemSemaphore>
pub unsafe fn new_1a( key: impl CastInto<Ref<QString>>, ) -> CppBox<QSystemSemaphore>
Calls C++ function: [constructor] void QSystemSemaphore::QSystemSemaphore(const QString& key).
Sourcepub unsafe fn release_1a(&self, n: c_int) -> bool
pub unsafe fn release_1a(&self, n: c_int) -> bool
Calls C++ function: bool QSystemSemaphore::release(int n = …).
Sourcepub unsafe fn release_0a(&self) -> bool
pub unsafe fn release_0a(&self) -> bool
Calls C++ function: bool QSystemSemaphore::release().
Sourcepub unsafe fn set_key_3a(
&self,
key: impl CastInto<Ref<QString>>,
initial_value: c_int,
mode: AccessMode,
)
pub unsafe fn set_key_3a( &self, key: impl CastInto<Ref<QString>>, initial_value: c_int, mode: AccessMode, )
Calls C++ function: void QSystemSemaphore::setKey(const QString& key, int initialValue = …, QSystemSemaphore::AccessMode mode = …).
Sourcepub unsafe fn set_key_2a(
&self,
key: impl CastInto<Ref<QString>>,
initial_value: c_int,
)
pub unsafe fn set_key_2a( &self, key: impl CastInto<Ref<QString>>, initial_value: c_int, )
Calls C++ function: void QSystemSemaphore::setKey(const QString& key, int initialValue = …).
Sourcepub unsafe fn set_key_1a(&self, key: impl CastInto<Ref<QString>>)
pub unsafe fn set_key_1a(&self, key: impl CastInto<Ref<QString>>)
Calls C++ function: void QSystemSemaphore::setKey(const QString& key).