net.sourceforge.lept4j.L_WallTimer Maven / Gradle / Ivy
package net.sourceforge.lept4j;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* Timing struct
* native declaration : environ.h:52
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java or JNA.
*/
public class L_WallTimer extends Structure {
/** C type : l_int32 */
public int start_sec;
/** C type : l_int32 */
public int start_usec;
/** C type : l_int32 */
public int stop_sec;
/** C type : l_int32 */
public int stop_usec;
public L_WallTimer() {
super();
}
protected List > getFieldOrder() {
return Arrays.asList("start_sec", "start_usec", "stop_sec", "stop_usec");
}
/**
* @param start_sec C type : l_int32
* @param start_usec C type : l_int32
* @param stop_sec C type : l_int32
* @param stop_usec C type : l_int32
*/
public L_WallTimer(int start_sec, int start_usec, int stop_sec, int stop_usec) {
super();
this.start_sec = start_sec;
this.start_usec = start_usec;
this.stop_sec = stop_sec;
this.stop_usec = stop_usec;
}
public L_WallTimer(Pointer peer) {
super(peer);
read();
}
public static class ByReference extends L_WallTimer implements Structure.ByReference {
};
public static class ByValue extends L_WallTimer implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy