org.blackdread.camerabinding.jna.EdsTime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of camera-binding Show documentation
Show all versions of camera-binding Show documentation
Bindings of C header files in java of EDSDK
package org.blackdread.camerabinding.jna;
import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* native declaration : sdk-header\EDSDKTypes.h
* 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 EdsTime extends Structure {
/** C type : EdsUInt32 */
public NativeLong year;
/** C type : EdsUInt32 */
public NativeLong month;
/** C type : EdsUInt32 */
public NativeLong day;
/** C type : EdsUInt32 */
public NativeLong hour;
/** C type : EdsUInt32 */
public NativeLong minute;
/** C type : EdsUInt32 */
public NativeLong second;
/** C type : EdsUInt32 */
public NativeLong milliseconds;
public EdsTime() {
super();
}
@Override
protected List getFieldOrder() {
return Arrays.asList("year", "month", "day", "hour", "minute", "second", "milliseconds");
}
/**
* @param year C type : EdsUInt32
* @param month C type : EdsUInt32
* @param day C type : EdsUInt32
* @param hour C type : EdsUInt32
* @param minute C type : EdsUInt32
* @param second C type : EdsUInt32
* @param milliseconds C type : EdsUInt32
*/
public EdsTime(NativeLong year, NativeLong month, NativeLong day, NativeLong hour, NativeLong minute, NativeLong second, NativeLong milliseconds) {
super();
this.year = year;
this.month = month;
this.day = day;
this.hour = hour;
this.minute = minute;
this.second = second;
this.milliseconds = milliseconds;
}
public EdsTime(Pointer peer) {
super(peer);
}
public static class ByReference extends EdsTime implements Structure.ByReference {
}
public static class ByValue extends EdsTime implements Structure.ByValue {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy