InscoperAPI/Build/Java/com.inscoper.api/com/inscoper/api/ESubDeviceLabel.java¶
Packages¶
| Name |
|---|
| com.inscoper.api |
Classes¶
| Name | |
|---|---|
| enum | com.inscoper.api.ESubDeviceLabel ESubDeviceLabel enum defines types of sub-devices. |
Source code¶
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (https://www.swig.org).
* Version 4.3.1
*
* Do not make changes to this file unless you know what you are doing - modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.inscoper.api;
import com.inscoper.api.logging.*;
public enum ESubDeviceLabel {
NONE(InscoperJNI.ESubDeviceLabel_NONE_get()),
INIT,
FINISH,
DIAG,
USB_CHECK,
X_AXIS,
Y_AXIS,
MOVE_AXIS,
FOCUS,
SHUTTER,
OBJECTIVE,
CUBE,
FILTER_WHEEL,
TRIG_EDGE,
TRIG_LEVEL,
CAM_CHECK_READY,
MAGNIFICATION,
PROPERTY,
CAM_START_CONTINUOUS,
CAM_START,
CAM_STOP,
CAM_SNAP,
CAM_SOFTWARE_TRIG,
INTENSITY,
SERIAL,
DIGITAL,
POST_INIT,
DELAY_MINIMAL,
DELAY_SHORT,
DELAY_MEDIUM,
DELAY_LONG,
DELAY_EXTRALONG,
ALWAYS_UPDATE,
MINIFICATION,
FOCUS_OFFSET,
AUTOFOCUS_OFFSET,
AUTOFOCUS_SWITCH,
AUTOFOCUS_MODE,
PIEZO,
PIEZO_DELAY,
EXCLUDE,
GENERIC_AXIS,
CHANNEL,
AMBIGUOUS,
EXCLUDE_FROM_SEQ;
public final int swigValue() {
return swigValue;
}
public static ESubDeviceLabel swigToEnum(int swigValue) {
ESubDeviceLabel[] swigValues = ESubDeviceLabel.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ESubDeviceLabel swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ESubDeviceLabel.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ESubDeviceLabel() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ESubDeviceLabel(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ESubDeviceLabel(ESubDeviceLabel swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
Updated on 2026-09-03 at 12:14:19 +0200