InscoperAPI/Build/Java/com.inscoper.api/com/inscoper/api/ChildStatusParam.java¶
Packages¶
| Name |
|---|
| com.inscoper.api |
Classes¶
| Name | |
|---|---|
| class | com.inscoper.api.ChildStatusParam ChildStatusParam class represents a dependent status parameter. |
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 ChildStatusParam extends ParentStatusParam {
private transient long swigCPtr;
private transient boolean swigCMemOwnDerived;
protected ChildStatusParam(long cPtr, boolean cMemoryOwn) {
super(InscoperJNI.ChildStatusParam_SWIGSmartPtrUpcast(cPtr), true);
swigCMemOwnDerived = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ChildStatusParam 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_ChildStatusParam(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public ChildStatusParam(ChildStatusParam other) {
this(InscoperJNI.new_ChildStatusParam__SWIG_0(ChildStatusParam.getCPtr(other), other), true);
}
public ChildStatusParam(SubDeviceId subDeviceId, ParentStatusParam parent, EOperation operation, double operand) {
this(InscoperJNI.new_ChildStatusParam__SWIG_1(SubDeviceId.getCPtr(subDeviceId), subDeviceId, ParentStatusParam.getCPtr(parent), parent, operation.swigValue(), operand), true);
}
public ChildStatusParam(SubDeviceId subDeviceId, ParentStatusParam parent, EOperation operation, double operand, int tag) {
this(InscoperJNI.new_ChildStatusParam__SWIG_2(SubDeviceId.getCPtr(subDeviceId), subDeviceId, ParentStatusParam.getCPtr(parent), parent, operation.swigValue(), operand, tag), true);
}
public ParentStatusParam getParent() {
long cPtr = InscoperJNI.ChildStatusParam_getParent(swigCPtr, this);
return ParentStatusParam.createProxy(cPtr, false);
}
public void setParent(ParentStatusParam parent) {
InscoperJNI.ChildStatusParam_setParent(swigCPtr, this, ParentStatusParam.getCPtr(parent), parent);
}
public EOperation getOperation() {
return EOperation.swigToEnum(InscoperJNI.ChildStatusParam_getOperation(swigCPtr, this));
}
public void setOperation(EOperation operation) {
InscoperJNI.ChildStatusParam_setOperation(swigCPtr, this, operation.swigValue());
}
public double getOperand() {
return InscoperJNI.ChildStatusParam_getOperand(swigCPtr, this);
}
public void setOperand(double operand) {
InscoperJNI.ChildStatusParam_setOperand(swigCPtr, this, operand);
}
public int getTag() {
return InscoperJNI.ChildStatusParam_getTag(swigCPtr, this);
}
public void setTag(int tag) {
InscoperJNI.ChildStatusParam_setTag(swigCPtr, this, tag);
}
public StatusParam clone() {
long cPtr = InscoperJNI.ChildStatusParam_clone(swigCPtr, this);
return (cPtr == 0) ? null : new StatusParam(cPtr, true);
}
private boolean equals(StatusParam other) {
return InscoperJNI.ChildStatusParam_equals(swigCPtr, this, StatusParam.getCPtr(other), other);
}
}
Updated on 2026-09-03 at 12:14:19 +0200