public class CoreNative extends Core
CoreComponent.Buffer, CoreComponent.BufferI, CoreComponent.BufferO, CoreComponent.CxRamBuf, CoreComponent.CxTapBuf, CoreComponent.CxTapBuf_NP, CoreComponent.CxTapBuf_NP2, CoreComponent.CxTapBuf_NPO, CoreComponent.DelayLine, CoreComponent.Dma, CoreComponent.Queue, CoreComponent.Ram, CoreComponent.RamBuf, CoreComponent.RamRWC, CoreComponent.RomF, CoreComponent.RomF2D, CoreComponent.RomF2Di, CoreComponent.RomF2Di_CX, CoreComponent.RomF2Di_NP, CoreComponent.StatBuf, CoreComponent.Stream, CoreComponent.StreamI, CoreComponent.StreamO, CoreComponent.TapBuf, CoreComponent.Value, CoreComponent.ValueI, CoreComponent.ValueIF, CoreComponent.ValueO, CoreComponent.ViterbiCoreCommon.CxByte, CoreCommon.CxDouble, CoreCommon.CxFloat, CoreCommon.CxShort, CoreCommon.SxDouble, CoreCommon.SxFloat, CoreCommon.SxShort, CoreCommon.TypeDef, CoreCommon.VxDouble, CoreCommon.VxFloat, CoreCommon.VxShort| Modifier and Type | Field and Description |
|---|---|
static boolean |
useNative |
ARRAY, BUFFER, BUFSTR, cvbb, FLGS, FLOW, FORM, FUNC, IMPL, MCID, PACKET, SCID, STREAM, VBPRANGULAR_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, TWOPIALAW, AMODE, ASCII, ASCII256, BMAX, BMIN, BOOL, BYTE, COMPLEX, CONVERT_TYPE_LIST, CRAY, DATA_MODE_LIST, DATA_TYPE_LIST, DMAX, DMIN, DOUBLE, EEEI, EXTENDED_DATA_TYPE_LIST, falseStates, FLOAT, FMAX, FMIN, IEEE, IMAX, IMIN, INT, JINT, LMAX, LMIN, LONG, MATRIX, modeList, MULT_DATA_MODE_LIST, NIBBLE, NMAX, NMIN, NONHOMOGENEOUS, NUMBER, numberTypes, NUMERIC_DATA_TYPE_LIST, numericTypeList, OBJECT, PACKED, QUAD, repList, RESULT_TYPE_LIST, SCALAR, STRING, TABLE, TRANSMATRIX, trueStates, typeList, UINT, ULAW, ULONG, 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) |
int |
close() |
int |
config(long handle,
int key,
int value) |
static void |
fp2fptx(long lbuf,
int bytes) |
static void |
fptx2fp(long lbuf,
int bytes) |
int |
free(long handle) |
static void |
freeStream(long handle) |
nxm.sys.lib.Data |
get(java.lang.String key,
byte type) |
int |
get(java.lang.String key,
nxm.sys.lib.Data data) |
int |
get(java.lang.String key,
nxm.sys.lib.Data data,
int off,
int len) |
int |
getkey(long handle,
java.lang.String key,
char ctype,
byte[] value,
int off,
int len) |
int |
getTraceData(int addr) |
int |
init(long handle) |
static int |
loadStreamAvail(long handle) |
static long |
loadStreamBuffer(long handle) |
static int |
loadStreamStatus(long handle,
int n) |
static long |
newStream(int size,
int IBW,
int OBW) |
int |
open() |
static int |
open(long handle) |
int |
poll() |
static int |
poll(long handle) |
int |
process(CoreComponent.Buffer bi,
CoreComponent.Buffer bo) |
int |
process(CoreComponent.Buffer bi,
CoreComponent.Stream so) |
int |
process(CoreComponent.Buffer bi,
CoreComponent.Stream sip,
CoreComponent.Stream so,
CoreComponent.Stream sop) |
int |
process(CoreComponent.Stream so) |
int |
process(CoreComponent.Stream si,
CoreComponent.Stream so) |
int |
set(java.lang.String key,
nxm.sys.lib.Data value) |
int |
setFormats(java.lang.String fmt1,
java.lang.String fmt2) |
int |
setkey(long handle,
java.lang.String key,
char ctype,
byte[] value,
int off,
int len) |
int |
setMCID(int index) |
int |
setTraceMode(int mode) |
int |
sysrd(long handle,
int addr) |
int |
syswr(long handle,
int addr,
int data) |
static int |
unloadStreamAvail(long handle) |
static long |
unloadStreamBuffer(long handle) |
static int |
unloadStreamStatus(long handle,
int n) |
static int |
upload(long handle) |
int |
work(long handle,
long si,
long sip,
long so,
long sop) |
static int |
xgetL(long handle,
int off) |
static void |
xwrL(long handle,
int x) |
forName, get, get, getBuffer, getBuffer, getD, getDataType, getF, getFormatBits, getFormatBits, getFormatBytes, getFormatBytes, getFormatMode, getFormatMode, getFormats, getFormats, getFormats, getL, getList, getS, getState, getVars, init, initSub, isMatch, isSet, isSubMatch, load, process, putVars, set, set, set, set, set, set, set, set, set, set, setFlow, setKeyFile, setKeyTable, setSCID, subKey, unload, upDateV2d, V2f, V2i, V2sabs, addcc, atan2, atan2cf, atan2f, brev4, bswap2, bswap2, bswap2s, bswap4, ceil, ceilf, CF2bb, CF2CI, CF2L, CI2CF, CI2Fx, CI2Fy, CI2L, clip, clipf, clipl, cos, cosc, coscf, cosf, cpuDate, cpuTime, cpuWait, CxByte, CxDouble_stk, CxFloat_stk, CxShort_stk, d2dptx, d2f, d2fi, d2i, d2l, d2wi, d2x, divdi, divf, divfi, divfp2, divii, divp2, dptx2d, dupcc, f2bb, f2d, f2fptx, f2i, F2I, F2K, f2x, fabs, fabsf, fi2d, findListItem, fint, fintf, floor, floorf, fmax, fmaxf, fmin, fminf, fmod, fmodf, fp2i, fptx2f, frac, fracf, gatherBits, getBit, getBit, getBits, getBits, getListBase, getListItem, getPABS, getPABS, getPBBS, getPBS, getPBS, i2bb, i2d, i2f, I2F, i2fp, i2s, iabs, ii2l, iLRS, iLRSP, imax, imin, IN2P, inv, invf, invfi, IO2P, K2F, l2d, L2F, l2i, l2s, labs, LN2P, LO2P, log10, log10cf, log10f, log2, mag2f, msumccf, msumcsf, msumf, mulcAc, mulcAcA, mulcc, mulccA, mulccj, mulcf, mulcfrnc, muldf, muldi, mulfc, mulfcrnc, mulff, mulffrnc, mulfi, mulfp2, mulif, mulp2, muxf, ones, phaseditherf, pol2recf, pow, pow2ge, power2ge, powf, qrotcc, qwrap2z, round, roundf, s2bb, s2i, s2l, sclip, sclipf, sclipl, setBit, setBit, setBits, setBits, setBits, setBits, sin, sinc, sincf, sincoscf, sinf, sqrt, sqrtf, SxDouble_stk, SxFloat_stk, SxShort_stk, tan, tancf, tanf, VxDouble_stk, VxFloat_stk, VxShort_stk, wrap, wrapfpublic CoreNative()
public long alloc()
public int config(long handle,
int key,
int value)
public int init(long handle)
public int setkey(long handle,
java.lang.String key,
char ctype,
byte[] value,
int off,
int len)
public int getkey(long handle,
java.lang.String key,
char ctype,
byte[] value,
int off,
int len)
public int work(long handle,
long si,
long sip,
long so,
long sop)
public int free(long handle)
public int sysrd(long handle,
int addr)
public int syswr(long handle,
int addr,
int data)
public static int open(long handle)
public static int poll(long handle)
public static int upload(long handle)
public static long newStream(int size,
int IBW,
int OBW)
public static void freeStream(long handle)
public static long loadStreamBuffer(long handle)
public static int loadStreamAvail(long handle)
public static int loadStreamStatus(long handle,
int n)
public static long unloadStreamBuffer(long handle)
public static int unloadStreamAvail(long handle)
public static int unloadStreamStatus(long handle,
int n)
public static int xgetL(long handle,
int off)
public static void xwrL(long handle,
int x)
public static void fp2fptx(long lbuf,
int bytes)
public static void fptx2fp(long lbuf,
int bytes)
public int setFormats(java.lang.String fmt1,
java.lang.String fmt2)
setFormats in class Corepublic int setTraceMode(int mode)
setTraceMode in class Corepublic int getTraceData(int addr)
getTraceData in class Corepublic void allocNative(java.lang.String config)
allocNative in class Corepublic int get(java.lang.String key,
nxm.sys.lib.Data data,
int off,
int len)
public int process(CoreComponent.Stream so)
public int process(CoreComponent.Stream si, CoreComponent.Stream so)
public int process(CoreComponent.Buffer bi, CoreComponent.Buffer bo)
public int process(CoreComponent.Buffer bi, CoreComponent.Stream so)
public int process(CoreComponent.Buffer bi, CoreComponent.Stream sip, CoreComponent.Stream so, CoreComponent.Stream sop)