com.jme3.system.jopenvr.VR_IVRDriverManager_FnTable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-vr Show documentation
Show all versions of jme3-vr Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
package com.jme3.system.jopenvr;
import com.sun.jna.Callback;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* native declaration : headers\openvr_capi.h:2313
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class VR_IVRDriverManager_FnTable extends Structure {
/** C type : GetDriverCount_callback* */
public VR_IVRDriverManager_FnTable.GetDriverCount_callback GetDriverCount;
/** C type : GetDriverName_callback* */
public VR_IVRDriverManager_FnTable.GetDriverName_callback GetDriverName;
/** C type : GetDriverHandle_callback* */
public VR_IVRDriverManager_FnTable.GetDriverHandle_callback GetDriverHandle;
/** native declaration : headers\openvr_capi.h:2310 */
public interface GetDriverCount_callback extends Callback {
int apply();
};
/** native declaration : headers\openvr_capi.h:2311 */
public interface GetDriverName_callback extends Callback {
int apply(int nDriver, Pointer pchValue, int unBufferSize);
};
/** native declaration : headers\openvr_capi.h:2312 */
public interface GetDriverHandle_callback extends Callback {
long apply(Pointer pchDriverName);
};
public VR_IVRDriverManager_FnTable() {
super();
}
@Override
protected List getFieldOrder() {
return Arrays.asList("GetDriverCount", "GetDriverName", "GetDriverHandle");
}
/**
* @param GetDriverCount C type : GetDriverCount_callback*
* @param GetDriverName C type : GetDriverName_callback*
* @param GetDriverHandle C type : GetDriverHandle_callback*
*/
public VR_IVRDriverManager_FnTable(VR_IVRDriverManager_FnTable.GetDriverCount_callback GetDriverCount, VR_IVRDriverManager_FnTable.GetDriverName_callback GetDriverName, VR_IVRDriverManager_FnTable.GetDriverHandle_callback GetDriverHandle) {
super();
this.GetDriverCount = GetDriverCount;
this.GetDriverName = GetDriverName;
this.GetDriverHandle = GetDriverHandle;
}
public VR_IVRDriverManager_FnTable(Pointer peer) {
super(peer);
}
public static class ByReference extends VR_IVRDriverManager_FnTable implements Structure.ByReference {
};
public static class ByValue extends VR_IVRDriverManager_FnTable implements Structure.ByValue {
};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy