io.qt.core.QBasicMutex Maven / Gradle / Ivy
package io.qt.core;
import io.qt.*;
/**
* Java wrapper for Qt class QBasicMutex
*/
public class QBasicMutex extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QBasicMutex:: QBasicMutex()
*/
public QBasicMutex(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QBasicMutex instance);
/**
* See QBasicMutex:: lock()
*/
@QtUninvokable
public final void lock(){
lock_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void lock_native(long __this__nativeId);
/**
* See QBasicMutex:: tryLock()
* @return
*/
@QtUninvokable
public final boolean tryLock(){
return tryLock_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean tryLock_native(long __this__nativeId);
/**
* See QBasicMutex:: unlock()
*/
@QtUninvokable
public final void unlock(){
unlock_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void unlock_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QBasicMutex(QPrivateConstructor p) { super(p); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy