49 lines
1.5 KiB
Java
49 lines
1.5 KiB
Java
|
|
/* ----------------------------------------------------------------------------
|
||
|
|
* This file was automatically generated by SWIG (https://www.swig.org).
|
||
|
|
* Version 4.4.1
|
||
|
|
*
|
||
|
|
* Do not make changes to this file unless you know what you are doing - modify
|
||
|
|
* the SWIG interface file instead.
|
||
|
|
* ----------------------------------------------------------------------------- */
|
||
|
|
|
||
|
|
package upm_interfaces;
|
||
|
|
|
||
|
|
import java.util.AbstractList;
|
||
|
|
import java.lang.Float;
|
||
|
|
|
||
|
|
public class iMagnetometerSwigImpl implements iMagnetometer {
|
||
|
|
private long swigCPtr;
|
||
|
|
protected boolean swigCMemOwn;
|
||
|
|
public iMagnetometerSwigImpl(long cPtr, boolean cMemoryOwn) {
|
||
|
|
swigCMemOwn = cMemoryOwn;
|
||
|
|
swigCPtr = cPtr;
|
||
|
|
}
|
||
|
|
public static long getCPtr(iMagnetometerSwigImpl obj) {
|
||
|
|
return (obj == null) ? 0 : obj.swigCPtr;
|
||
|
|
}
|
||
|
|
|
||
|
|
@SuppressWarnings({"deprecation", "removal"})
|
||
|
|
protected void finalize() {
|
||
|
|
delete();
|
||
|
|
}
|
||
|
|
|
||
|
|
public synchronized void delete() {
|
||
|
|
if (swigCPtr != 0) {
|
||
|
|
if (swigCMemOwn) {
|
||
|
|
swigCMemOwn = false;
|
||
|
|
javaupm_interfacesJNI.delete_iMagnetometerSwigImpl(swigCPtr);
|
||
|
|
}
|
||
|
|
swigCPtr = 0;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public long iMagnetometer_GetInterfaceCPtr() {
|
||
|
|
return javaupm_interfacesJNI.iMagnetometerSwigImpl_iMagnetometer_GetInterfaceCPtr(swigCPtr);
|
||
|
|
}
|
||
|
|
|
||
|
|
public AbstractList<Float> getMagnetometer() {
|
||
|
|
return (AbstractList<Float>)(new floatVector(javaupm_interfacesJNI.iMagnetometerSwigImpl_getMagnetometer(swigCPtr, this), true));
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|