|
|||||||||
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.NslBoolean | +--nslj.src.lang.NslBoolean3
Field Summary | |
boolean[][][] |
_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 | |
NslBoolean3()
Constructor with default value null |
|
NslBoolean3(boolean[][][] value)
Constructor, initialize the value to value |
|
NslBoolean3(int size1,
int size2,
int size3)
Constructor, initialize the number to be size size 1-D array |
|
NslBoolean3(NslBoolean3 n)
Constructor, initialize the value to the same as another NslNumeric0 |
|
NslBoolean3(NslNumeric3 n)
Constructor, initialize the value to the same as another NslNumeric0 |
|
NslBoolean3(java.lang.String name)
This constructs a number with specified name |
|
NslBoolean3(java.lang.String name,
int size1,
int size2,
int size3)
This constructs a number with specified name |
|
NslBoolean3(java.lang.String name,
NslBoolean3 value)
This constructs a number with specified name |
|
NslBoolean3(java.lang.String name,
NslHierarchy curParent)
|
|
NslBoolean3(java.lang.String name,
NslHierarchy curParent,
boolean[][][] value)
|
|
NslBoolean3(java.lang.String name,
NslHierarchy curParent,
int size1,
int size2,
int size3)
|
|
NslBoolean3(java.lang.String name,
NslHierarchy curParent,
NslBoolean3 value)
|
|
NslBoolean3(java.lang.String name,
NslHierarchy curParent,
NslNumeric3 value)
|
|
NslBoolean3(java.lang.String name,
NslNumeric3 value)
This constructs a number with specified name |
Method Summary | |
void |
duplicateData(NslData n)
Copy all data from n to this number object. |
NslData |
duplicateThis()
Clone this number |
boolean[][][] |
get()
Get the value of this number |
boolean[][] |
get(int pos)
|
boolean[] |
get(int pos1,
int pos2)
|
boolean |
get(int pos1,
int pos2,
int pos3)
|
boolean |
getboolean(int pos1,
int pos2,
int pos3)
Get the posth element of this one-dimensional array |
boolean[] |
getboolean1(int pos1,
int pos2)
Get the value of this number in integer |
boolean[][] |
getboolean2(int pos)
Get the value of this number in integer |
boolean[][][] |
getboolean3()
Get the value of this number in integer |
int |
getDimensions()
get the dimensions of this object |
double |
getdouble(int pos1,
int pos2,
int pos3)
Get the posth element of this one-dimensional array |
double[] |
getdouble1(int pos1,
int pos2)
Get the value of this number in double precision floating point number |
double[][] |
getdouble2(int pos)
Get the value of this number in double precision floating point number |
double[][][] |
getdouble3()
Get the value of this number in double precision floating point number |
float |
getfloat(int pos1,
int pos2,
int pos3)
Get the posth element of this one-dimensional array |
float[] |
getfloat1(int pos1,
int pos2)
Get the value of this number in single precision floating point number |
float[][] |
getfloat2(int pos)
Get the value of this number in single precision floating point number |
float[][][] |
getfloat3()
Get the value of this number in single precision floating point number |
int |
getint(int pos1,
int pos2,
int pos3)
Get the posth element of this one-dimensional array |
int[] |
getint1(int pos1,
int pos2)
Get the value of this number in integer |
int[][] |
getint2(int pos)
Get the value of this number in integer |
int[][][] |
getint3()
Get the value of this number in integer |
NslBoolean3 |
getNslBoolean3()
Get the value of this number in integer |
NslDouble3 |
getNslDouble3()
Get the value of this number in double precision floating point NslNumeric |
NslFloat3 |
getNslFloat3()
Get the value of this number in single precision floating point NslNumeric |
NslInt3 |
getNslInteger3()
Get the value of this number in integer |
void |
getNslSize(NslInt0 size1,
NslInt0 size2,
NslInt0 size3)
get the size of this array and put it into size |
boolean[][][] |
getSector(int start1,
int start2,
int start3,
int end1,
int end2,
int end3)
|
int |
getSize()
get the size of this array |
int |
getSize1()
get the size of this array at the rightmost dimension |
int |
getSize2()
get the size of this array at the second to right dimension |
int |
getSize3()
get the size of this array at the third to right dimension |
int |
getSize4()
get the size of this array at the fourth to right dimension |
int[] |
getSizes()
get the size of this array and put it into size |
boolean |
isDataSet()
Check if the internal number data is null |
void |
nslMemAlloc(int size1,
int size2,
int size3)
allocate memory dynamically |
void |
resetData()
Reset the reference pointer to null |
void |
set(boolean value)
Set all elements of this array to value |
void |
set(boolean[][][] value)
|
void |
set(double value)
Set all elements of this array to value |
void |
set(double[][][] value)
|
void |
set(float value)
Set all elements of this array to value |
void |
set(float[][][] value)
|
void |
set(int value)
Set all elements of this array to value |
void |
set(int[][][] value)
Set the value of this number to value |
void |
set(int pos,
boolean[][] value)
|
void |
set(int pos,
double[][] value)
|
void |
set(int pos,
float[][] value)
|
void |
set(int pos,
int[][] value)
|
void |
set(int pos1,
int pos2,
boolean[] value)
Set the value of this number to value |
void |
set(int pos1,
int pos2,
double[] value)
|
void |
set(int pos1,
int pos2,
float[] value)
Set the value of this number to value |
void |
set(int pos1,
int pos2,
int[] value)
Set the value of this number to value |
void |
set(int pos1,
int pos2,
int pos3,
boolean value)
Set the posth element of this array to value |
void |
set(int pos1,
int pos2,
int pos3,
double value)
Set the posth element of this array to value |
void |
set(int pos1,
int pos2,
int pos3,
float value)
Set the posth element of this array to value |
void |
set(int pos1,
int pos2,
int pos3,
int value)
Set the posth element of this array to value |
void |
set(int pos1,
int pos2,
int pos3,
NslBoolean0 value)
|
void |
set(int pos1,
int pos2,
int pos3,
NslNumeric0 value)
|
void |
set(int pos1,
int pos2,
NslBoolean1 value)
|
void |
set(int pos1,
int pos2,
NslNumeric1 value)
|
void |
set(int pos,
NslBoolean2 value)
|
void |
set(int pos,
NslNumeric2 value)
|
void |
set(NslBoolean0 value)
Set all elements of this array to value |
void |
set(NslBoolean3 n)
Set the value of this array to value |
void |
set(NslNumeric0 value)
Set all elements of this array to value |
void |
set(NslNumeric3 n)
Set the value of this array to value |
void |
setReference(NslData n)
Set the reference to the wrapped data of n It is used in double buffered ports, to make the the ports reference different number object at different time. |
void |
setSector(boolean[][][] d,
int startpos1,
int startpos2,
int startpos3)
|
java.lang.String |
toString()
Print the value of the numberic |
Methods inherited from class nslj.src.lang.NslData |
getDataType, getInport, getNslSizes, getOutport, nslGetPort |
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 |
public boolean[][][] _data
Constructor Detail |
public NslBoolean3()
public NslBoolean3(boolean[][][] value)
value
- - the init valuepublic NslBoolean3(NslNumeric3 n)
n
- - a scalar numberpublic NslBoolean3(NslBoolean3 n)
n
- - a scalar numberpublic NslBoolean3(int size1, int size2, int size3)
size
- - size of the new arraypublic NslBoolean3(java.lang.String name)
name
- - name of the variablepublic NslBoolean3(java.lang.String name, int size1, int size2, int size3)
name
- - name of the variablesize
- - size of the arraypublic NslBoolean3(java.lang.String name, NslHierarchy curParent)
public NslBoolean3(java.lang.String name, NslHierarchy curParent, int size1, int size2, int size3)
public NslBoolean3(java.lang.String name, NslNumeric3 value)
name
- - name of the variablevalue
- - initialized valuespublic NslBoolean3(java.lang.String name, NslBoolean3 value)
name
- - name of the variablevalue
- - initialized valuespublic NslBoolean3(java.lang.String name, NslHierarchy curParent, NslNumeric3 value)
public NslBoolean3(java.lang.String name, NslHierarchy curParent, NslBoolean3 value)
public NslBoolean3(java.lang.String name, NslHierarchy curParent, boolean[][][] value)
Method Detail |
public void nslMemAlloc(int size1, int size2, int size3)
public void duplicateData(NslData n)
NslData
duplicateData
in class NslData
nslj.src.lang.NslData
n
- - number to be copiedpublic NslData duplicateThis()
duplicateThis
in class NslData
public void setReference(NslData n)
setReference
in class NslData
n
- - number concernedpublic boolean isDataSet()
isDataSet
in class NslData
public void resetData()
resetData
in class NslData
public java.lang.String toString()
NslData
toString
in class NslData
public boolean[][][] get()
public boolean[][] get(int pos)
public boolean[] get(int pos1, int pos2)
public boolean get(int pos1, int pos2, int pos3)
public double[][][] getdouble3()
public float[][][] getfloat3()
public int[][][] getint3()
public boolean[][][] getboolean3()
public double[][] getdouble2(int pos)
public float[][] getfloat2(int pos)
public int[][] getint2(int pos)
public boolean[][] getboolean2(int pos)
public double[] getdouble1(int pos1, int pos2)
public float[] getfloat1(int pos1, int pos2)
public int[] getint1(int pos1, int pos2)
public boolean[] getboolean1(int pos1, int pos2)
public double getdouble(int pos1, int pos2, int pos3)
public float getfloat(int pos1, int pos2, int pos3)
public int getint(int pos1, int pos2, int pos3)
public boolean getboolean(int pos1, int pos2, int pos3)
public NslDouble3 getNslDouble3()
public NslFloat3 getNslFloat3()
public NslInt3 getNslInteger3()
public NslBoolean3 getNslBoolean3()
public boolean[][][] getSector(int start1, int start2, int start3, int end1, int end2, int end3)
public void set(int[][][] value)
value
- public void set(float[][][] value)
public void set(double[][][] value)
public void set(boolean[][][] value)
public void set(int pos, int[][] value)
public void set(int pos, float[][] value)
public void set(int pos, double[][] value)
public void set(int pos, boolean[][] value)
public void set(int pos1, int pos2, double[] value)
public void set(int pos1, int pos2, float[] value)
value
- public void set(int pos1, int pos2, int[] value)
value
- public void set(int pos1, int pos2, boolean[] value)
value
- public void set(int pos1, int pos2, int pos3, double value)
pos
- value
- public void set(int pos1, int pos2, int pos3, float value)
pos
- value
- public void set(int pos1, int pos2, int pos3, int value)
pos
- value
- public void set(int pos1, int pos2, int pos3, boolean value)
pos
- value
- public void set(double value)
value
- public void set(float value)
value
- public void set(int value)
value
- public void set(boolean value)
value
- public void set(NslNumeric3 n)
value
- public void set(int pos, NslNumeric2 value)
public void set(int pos1, int pos2, NslNumeric1 value)
public void set(NslNumeric0 value)
value
- public void set(int pos1, int pos2, int pos3, NslNumeric0 value)
public void set(NslBoolean3 n)
value
- public void set(int pos, NslBoolean2 value)
public void set(int pos1, int pos2, NslBoolean1 value)
public void set(NslBoolean0 value)
value
- public void set(int pos1, int pos2, int pos3, NslBoolean0 value)
public void setSector(boolean[][][] d, int startpos1, int startpos2, int startpos3)
public int getDimensions()
getDimensions
in class NslData
public int getSize()
public void getNslSize(NslInt0 size1, NslInt0 size2, NslInt0 size3)
size
- public int[] getSizes()
getSizes
in class NslData
public int getSize1()
getSize1
in class NslData
public int getSize2()
getSize2
in class NslData
public int getSize3()
getSize3
in class NslData
public int getSize4()
getSize4
in class NslData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |