InscoperAPI/Build/Java/com.inscoper.api/com/inscoper/api/InscoperBoxDriverDescription.java¶
Packages¶
| Name |
|---|
| com.inscoper.api |
Classes¶
| Name | |
|---|---|
| class | com.inscoper.api.InscoperBoxDriverDescription The InscoperBoxDriverDescription class provides information for devices supported by the device controller. |
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 InscoperBoxDriverDescription extends DriverDescription {
private transient long swigCPtr;
private transient boolean swigCMemOwnDerived;
protected InscoperBoxDriverDescription(long cPtr, boolean cMemoryOwn) {
super(InscoperJNI.InscoperBoxDriverDescription_SWIGSmartPtrUpcast(cPtr), true);
swigCMemOwnDerived = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(InscoperBoxDriverDescription obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void swigSetCMemOwn(boolean own) {
swigCMemOwnDerived = own;
super.swigSetCMemOwn(own);
}
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwnDerived) {
swigCMemOwnDerived = false;
InscoperJNI.delete_InscoperBoxDriverDescription(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public InscoperBoxDriverDescription() {
this(InscoperJNI.new_InscoperBoxDriverDescription(), true);
}
public EDriverType getDriverType() {
return EDriverType.swigToEnum(InscoperJNI.InscoperBoxDriverDescription_getDriverType(swigCPtr, this));
}
public boolean isEqual(DriverDescription other) {
return InscoperJNI.InscoperBoxDriverDescription_isEqual(swigCPtr, this, DriverDescription.getCPtr(other), other);
}
public long getHardwareId() {
return InscoperJNI.InscoperBoxDriverDescription_getHardwareId(swigCPtr, this);
}
public void setHardwareId(long hardwareId) {
InscoperJNI.InscoperBoxDriverDescription_setHardwareId(swigCPtr, this, hardwareId);
}
public String getProjectName() {
return InscoperJNI.InscoperBoxDriverDescription_getProjectName(swigCPtr, this);
}
public void setProjectName(String projectName) {
InscoperJNI.InscoperBoxDriverDescription_setProjectName(swigCPtr, this, projectName);
}
public String getFunctionProjectName() {
return InscoperJNI.InscoperBoxDriverDescription_getFunctionProjectName(swigCPtr, this);
}
public void setFunctionProjectName(String functionProjectName) {
InscoperJNI.InscoperBoxDriverDescription_setFunctionProjectName(swigCPtr, this, functionProjectName);
}
public long getCrc32() {
return InscoperJNI.InscoperBoxDriverDescription_getCrc32(swigCPtr, this);
}
public void setCrc32(long crc32) {
InscoperJNI.InscoperBoxDriverDescription_setCrc32(swigCPtr, this, crc32);
}
public void addConnectionDescription(ConnectionDescription connectionDescription) {
InscoperJNI.InscoperBoxDriverDescription_addConnectionDescription(swigCPtr, this, ConnectionDescription.getCPtr(connectionDescription), connectionDescription);
}
public void setConnectionDescriptionList(ConnectionDescriptionVector connectionDescriptionList) {
InscoperJNI.InscoperBoxDriverDescription_setConnectionDescriptionList(swigCPtr, this, ConnectionDescriptionVector.getCPtr(connectionDescriptionList), connectionDescriptionList);
}
public ConnectionDescriptionVector getConnectionDescriptionList() {
return new ConnectionDescriptionVector(InscoperJNI.InscoperBoxDriverDescription_getConnectionDescriptionList(swigCPtr, this), false);
}
public ConnectionDescription getConnectionDescription(int tag) {
long cPtr = InscoperJNI.InscoperBoxDriverDescription_getConnectionDescription(swigCPtr, this, tag);
return (cPtr == 0) ? null : new ConnectionDescription(cPtr, true);
}
}
Updated on 2026-09-03 at 12:14:19 +0200