public class CoreNative extends Core
Modifier and Type | Field and Description |
---|---|
static boolean |
useNative |
bi1, bi2, bo1, bo2, fmts, FORMATS, func, implementation, ni1, ni2, no1, no2
ANGULAR_VELOCITY_PRECESSING_COR, B1G, B1K, B1M, B1T, B64K, CYC2RAD, DEF_EARTH_ANGULAR_VELOCITY, DEG2METERS, DEG2RAD, E, EARTH_ANGULAR_VELOCITY, EARTH_ECCENTRICITY, EARTH_EQUATORIAL_RADIUS, EARTH_FLATTENING_FACTOR, EARTH_GRAV_CONSTANT_W_ATMOS, EARTH_GRAV_CONSTANT_W_ATMOS_ORIG, EARTH_GRAV_CONSTANT_WO_ATMOS, EARTH_GRAV_CONSTANT_WO_ATMOS_ORIG, FEET2METERS, HALFPI, IAU_EARTH_ANGULAR_VELOCITY, LN2DB, LN2LOG, LNTEN, MASS_OF_EARTH_W_ATMOS, METERS2DEG, METERS2FEET, METERS2NM, METERS2SM, NM2FEET, NM2METERS, PI, POLAR_RADIUS_IN_METERS, POLAR_RADIUS_OF_CURVATURE, RAD2CYC, RAD2DEG, SECOND_EARTH_ECCENTRICITY, SM2FEET, SM2METERS, SPEED_OF_LIGHT, TWOPI
ALAW, ASCII, BMAX, BMIN, BOOL, BYTE, COMPLEX, CONVERT_TYPE_LIST, CRAY, DATA_MODE_LIST, DATA_TYPE_LIST, DMAX, DMIN, DOUBLE, EEEI, falseStates, FLOAT, FMAX, FMIN, IEEE, IMAX, IMIN, INT, LMAX, LMIN, LONG, MATRIX, modeList, MULT_DATA_MODE_LIST, NIBBLE, NMAX, NMIN, NONHOMOGENEOUS, NUMBER, NUMERIC_DATA_TYPE_LIST, numericTypeList, OBJECT, PACKED, QUAD, repList, RESULT_TYPE_LIST, SCALAR, STRING, TABLE, TRANSMATRIX, trueStates, typeList, ULAW, VAX, VECTOR, XLONG, XMAX, XMIN, XMODE, XMVALUE, XMVALUE_KVLIST, XMVALUE_LIST, XMVALUE_TABLE
Constructor and Description |
---|
CoreNative()
Create an instance of this function with native implementation
|
Modifier and Type | Method and Description |
---|---|
long |
alloc() |
void |
allocNative(java.lang.String config)
Initialize this engine with given config
|
int |
close()
Finalize this engine
|
int |
config(long handle,
int key,
int value) |
int |
free(long handle) |
nxm.sys.lib.Data |
get(java.lang.String key,
byte type)
GetKey for generic parameter.
|
int |
getkey(long handle,
java.lang.String key,
byte[] value,
int len) |
int |
init(long handle) |
int |
open()
Ready this engine with current parameters
|
int |
process()
Process a buffer of data
|
int |
process(byte[] buf1,
int n1) |
int |
process(byte[] buf1,
int n1,
byte[] buf2,
int n2) |
int |
process(byte[] buf1,
int n1,
byte[] buf2,
int n2,
byte[] buf3,
int n3) |
int |
process(nxm.sys.lib.Data buf1,
int n1) |
int |
process(nxm.sys.lib.Data buf1,
int n1,
nxm.sys.lib.Data buf2,
int n2) |
int |
process(nxm.sys.lib.Data buf1,
int n1,
nxm.sys.lib.Data buf2,
int n2,
nxm.sys.lib.Data buf3,
int n3) |
void |
set(java.lang.String key,
nxm.sys.lib.Data value)
SetKey for generic parameter.
|
int |
setFormats(java.lang.String fmt1,
java.lang.String fmt2) |
int |
setkey(long handle,
java.lang.String key,
byte[] value,
int len) |
int |
work(long handle,
byte[] bi1,
int ni1,
byte[] bi2,
int ni2,
byte[] bo1,
int no1,
byte[] bo2,
int no2) |
forName, getD, getDataType, getF, getFormatBits, getFormatBits, getFormatBytes, getFormatBytes, getFormats, getFormats, getFormats, getL, getS, getState, isSet, set, set, set, set, set, set, set, set, set
public CoreNative()
public long alloc()
public int config(long handle, int key, int value)
public int setkey(long handle, java.lang.String key, byte[] value, int len)
public int getkey(long handle, java.lang.String key, byte[] value, int len)
public int init(long handle)
public int work(long handle, byte[] bi1, int ni1, byte[] bi2, int ni2, byte[] bo1, int no1, byte[] bo2, int no2)
public int free(long handle)
public int setFormats(java.lang.String fmt1, java.lang.String fmt2)
setFormats
in class Core
public void allocNative(java.lang.String config)
Core
allocNative
in class Core
public void set(java.lang.String key, nxm.sys.lib.Data value)
Core
public nxm.sys.lib.Data get(java.lang.String key, byte type)
Core
public int open()
Core
public int process()
Core
public int process(byte[] buf1, int n1, byte[] buf2, int n2)
public int process(byte[] buf1, int n1, byte[] buf2, int n2, byte[] buf3, int n3)
public int process(nxm.sys.lib.Data buf1, int n1, nxm.sys.lib.Data buf2, int n2)
public int process(nxm.sys.lib.Data buf1, int n1, nxm.sys.lib.Data buf2, int n2, nxm.sys.lib.Data buf3, int n3)