Skip to content

InscoperAPI/Build/Java/com.inscoper.api/com/inscoper/api/CameraDiagInfo.java

Packages

Name
com.inscoper.api

Classes

Name
class com.inscoper.api.CameraDiagInfo
CameraDiagInfo class groups camera-specific diagnostic information.

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 class CameraDiagInfo {
  private transient long swigCPtr;
  private transient boolean swigCMemOwn;

  protected CameraDiagInfo(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  protected static long getCPtr(CameraDiagInfo obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void swigSetCMemOwn(boolean own) {
    swigCMemOwn = own;
  }

  @SuppressWarnings({"deprecation", "removal"})
  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if (swigCPtr != 0) {
      if (swigCMemOwn) {
        swigCMemOwn = false;
        InscoperJNI.delete_CameraDiagInfo(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public CameraDiagInfo() {
    this(InscoperJNI.new_CameraDiagInfo(), true);
  }

  public void setSoftwareTriggerAvailable(boolean available) {
    InscoperJNI.CameraDiagInfo_setSoftwareTriggerAvailable(swigCPtr, this, available);
  }

  public boolean isSoftwareTriggerAvailable() {
    return InscoperJNI.CameraDiagInfo_isSoftwareTriggerAvailable(swigCPtr, this);
  }

  public void setLevelTriggerAvailable(boolean available) {
    InscoperJNI.CameraDiagInfo_setLevelTriggerAvailable(swigCPtr, this, available);
  }

  public boolean isLevelTriggerAvailable() {
    return InscoperJNI.CameraDiagInfo_isLevelTriggerAvailable(swigCPtr, this);
  }

  public void setEdgeTriggerAvailable(boolean available) {
    InscoperJNI.CameraDiagInfo_setEdgeTriggerAvailable(swigCPtr, this, available);
  }

  public boolean isEdgeTriggerAvailable() {
    return InscoperJNI.CameraDiagInfo_isEdgeTriggerAvailable(swigCPtr, this);
  }

  public void setEdgeTriggerStatus(Status status) {
    InscoperJNI.CameraDiagInfo_setEdgeTriggerStatus(swigCPtr, this, Status.getCPtr(status), status);
  }

  public Status getEdgeTriggerStatus() {
    return new Status(InscoperJNI.CameraDiagInfo_getEdgeTriggerStatus(swigCPtr, this), true);
  }

  public void setLevelTriggerStatus(Status status) {
    InscoperJNI.CameraDiagInfo_setLevelTriggerStatus(swigCPtr, this, Status.getCPtr(status), status);
  }

  public Status getLevelTriggerStatus() {
    return new Status(InscoperJNI.CameraDiagInfo_getLevelTriggerStatus(swigCPtr, this), true);
  }

  public void setInternalTriggerStatus(Status status) {
    InscoperJNI.CameraDiagInfo_setInternalTriggerStatus(swigCPtr, this, Status.getCPtr(status), status);
  }

  public Status getInternalTriggerStatus() {
    return new Status(InscoperJNI.CameraDiagInfo_getInternalTriggerStatus(swigCPtr, this), true);
  }

  public void setSoftwareTriggerStatus(Status status) {
    InscoperJNI.CameraDiagInfo_setSoftwareTriggerStatus(swigCPtr, this, Status.getCPtr(status), status);
  }

  public Status getSoftwareTriggerStatus() {
    return new Status(InscoperJNI.CameraDiagInfo_getSoftwareTriggerStatus(swigCPtr, this), true);
  }

  public void setPhysicalPixelSize(double pixelSize) {
    InscoperJNI.CameraDiagInfo_setPhysicalPixelSize(swigCPtr, this, pixelSize);
  }

  public double getPhysicalPixelSize() {
    return InscoperJNI.CameraDiagInfo_getPhysicalPixelSize(swigCPtr, this);
  }

}

Updated on 2026-09-03 at 12:14:19 +0200