|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EDU.gatech.cc.is.abstractrobot.ControlSystemS | +--EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150 | +--nslj.src.lang.NslBase | +--nslj.src.lang.NslData | +--nslj.src.lang.NslNumeric | +--nslj.src.lang.NslNumeric1
Field Summary | |
protected double[] |
_data
|
Fields inherited from class nslj.src.lang.NslBase |
_accessChar, _name, _parent |
Fields inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150 |
abstract_robot |
Fields inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemS |
CSSTAT_DONE, CSSTAT_ERROR, CSSTAT_OK, seed |
Constructor Summary | |
NslNumeric1()
|
|
NslNumeric1(java.lang.String label)
|
|
NslNumeric1(java.lang.String label,
NslHierarchy parent)
|
|
NslNumeric1(java.lang.String label,
NslHierarchy parent,
char desiredAccess)
|
Method Summary | |
int |
getDimensions()
get the dimensions of this object |
abstract double |
getdouble(int pos)
Get the posth element of this one-dimensional array |
abstract double[] |
getdouble1()
Get the array in double precision floating point |
abstract float |
getfloat(int pos)
Get the posth element of this one-dimensional array |
abstract float[] |
getfloat1()
Get the array in single precision floating point |
abstract int |
getint(int pos)
Get the posth element of this one-dimensional array |
abstract int[] |
getint1()
Get the array in single precision floating point |
abstract NslDouble1 |
getNslDouble1()
Create a NslDouble1 array with the same value as this array |
abstract NslFloat1 |
getNslFloat1()
Create a NslFloat1 array with the same value as this array |
abstract NslInt1 |
getNslInt1()
Create a NslInt1 array with the same value as this array |
abstract void |
getNslSize(NslInt0 size)
get the size of this array and put it into size |
abstract int |
getSize()
|
abstract int |
getSize1()
get the size of this array at the rightmost dimension |
abstract int[] |
getSizes()
get the size of this array and put it into size |
abstract void |
set(double value)
set the value of all elements of this object to value |
abstract void |
set(double[] value)
set the value of this object to one-dimensional array value |
abstract void |
set(float value)
set the value of all elements of this object to value |
abstract void |
set(float[] value)
set the value of this object to one-dimensional array value |
abstract void |
set(int value)
set the value of all elements of this object to value |
abstract void |
set(int[] value)
set the value of this object to one-dimensional array value |
abstract void |
set(int pos,
double value)
set the value of posth element of this object to value |
abstract void |
set(int pos,
float value)
set the value of posth element of this object to value |
abstract void |
set(int pos,
int value)
set the value of posth element of this object to value |
abstract void |
set(int pos,
NslNumeric0 value)
set the value of posth element of this object to value |
abstract void |
set(NslNumeric0 value)
Set the value of all elements of this object to be value |
abstract void |
set(NslNumeric1 value)
Set the value of this object to be value |
Methods inherited from class nslj.src.lang.NslData |
duplicateData, duplicateThis, getDataType, getInport, getNslSizes, getOutport, getSize2, getSize3, getSize4, isDataSet, nslGetPort, resetData, setReference, toString |
Methods inherited from class nslj.src.lang.NslBase |
nslGetAccess, nslGetName, nslGetParent, nslGetParentClass, nslGetParentModule, nslGetRealName, nslNullifyParent, nslSetAccess, nslSetName, nslSetParent |
Methods inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150 |
init |
Methods inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemS |
configure, Configure, getAbstractRobot, Init, quit, takeStep, TakeStep, trialEnd, TrialEnd, trialInit, TrialInit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected double[] _data
Constructor Detail |
public NslNumeric1()
public NslNumeric1(java.lang.String label)
public NslNumeric1(java.lang.String label, NslHierarchy parent)
public NslNumeric1(java.lang.String label, NslHierarchy parent, char desiredAccess)
Method Detail |
public abstract double[] getdouble1()
public abstract float[] getfloat1()
public abstract int[] getint1()
public abstract double getdouble(int pos)
public abstract float getfloat(int pos)
public abstract int getint(int pos)
public abstract NslDouble1 getNslDouble1()
public abstract NslFloat1 getNslFloat1()
public abstract NslInt1 getNslInt1()
public abstract void set(double[] value)
value
- - value to be defined.public abstract void set(float[] value)
value
- - value to be defined.public abstract void set(int[] value)
value
- - value to be defined.public abstract void set(int pos, double value)
pos
- - position of the element to be definedvalue
- - value to be defined.public abstract void set(int pos, float value)
pos
- - position of the element to be definedvalue
- - value to be defined.public abstract void set(int pos, int value)
pos
- - position of the element to be definedvalue
- - value to be defined.public abstract void set(double value)
value
- - value to be defined.public abstract void set(float value)
value
- - value to be defined.public abstract void set(int value)
value
- - value to be defined.public abstract void set(NslNumeric1 value)
value
- - in any of NslNumeric1 type.public abstract void set(NslNumeric0 value)
public abstract void set(int pos, NslNumeric0 value)
pos
- - position of the element to be definedvalue
- - value to be defined.public int getDimensions()
getDimensions
in class NslData
public abstract int getSize()
public abstract void getNslSize(NslInt0 size)
size
- public abstract int[] getSizes()
getSizes
in class NslData
public abstract int getSize1()
getSize1
in class NslData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |