nslj.src.lang
Class NslNumeric0

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.NslNumeric0
Direct Known Subclasses:
NslDouble0, NslFloat0, NslInt0

public abstract class NslNumeric0
extends NslNumeric


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
NslNumeric0()
           
NslNumeric0(java.lang.String label)
           
NslNumeric0(java.lang.String label, NslHierarchy parent)
           
NslNumeric0(java.lang.String label, NslHierarchy parent, char desiredAccess)
           
 
Method Summary
 int getDimensions()
          get the dimensions of this object
abstract  double getdouble()
          Get the value of this number in double precision floating point number
abstract  float getfloat()
          Get the value of this number in single precision floating point number
abstract  int getint()
          Get the value of this number in integer
abstract  NslDouble0 getNslDouble0()
          Get the value of this number in double precision floating point NslNumeric override for NslDouble0 for efficency
abstract  NslFloat0 getNslFloat0()
          Get the value of this number in floating point NslNumeric override for NslFloat0 for efficency
abstract  NslInt0 getNslInt0()
          Get the value of this number in integer override for NslInt0 for efficency
 void getNslSize(NslInt0 size)
          get the size of this array and put it into size
 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
abstract  void set(double value)
          set the value of this object to value
abstract  void set(float value)
          set the value of this object to value
abstract  void set(int value)
          set the value of this object to value
abstract  void set(NslNumeric0 value)
          Set the value of this object to value
 
Methods inherited from class nslj.src.lang.NslData
duplicateData, duplicateThis, getDataType, getInport, getNslSizes, getOutport, 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
 

Constructor Detail

NslNumeric0

public NslNumeric0()

NslNumeric0

public NslNumeric0(java.lang.String label)

NslNumeric0

public NslNumeric0(java.lang.String label,
                   NslHierarchy parent)

NslNumeric0

public NslNumeric0(java.lang.String label,
                   NslHierarchy parent,
                   char desiredAccess)
Method Detail

getdouble

public abstract double getdouble()
Get the value of this number in double precision floating point number
Returns:
value - in double precision pointing point

getfloat

public abstract float getfloat()
Get the value of this number in single precision floating point number

getint

public abstract int getint()
Get the value of this number in integer
Returns:
value - in integer

getNslDouble0

public abstract NslDouble0 getNslDouble0()
Get the value of this number in double precision floating point NslNumeric override for NslDouble0 for efficency
Returns:
NslNumeric - in double precision pointing point

getNslFloat0

public abstract NslFloat0 getNslFloat0()
Get the value of this number in floating point NslNumeric override for NslFloat0 for efficency
Returns:
NslNumeric - in single precision pointing point

getNslInt0

public abstract NslInt0 getNslInt0()
Get the value of this number in integer override for NslInt0 for efficency
Returns:
NslNumeric - in integer

set

public abstract void set(double value)
set the value of this object to value
Parameters:
value - - value to be defined.

set

public abstract void set(float value)
set the value of this object to value
Parameters:
value - - value to be defined.

set

public abstract void set(int value)
set the value of this object to value
Parameters:
value - - value to be defined.

set

public abstract void set(NslNumeric0 value)
Set the value of this object to value
Parameters:
value - - value to be set.

getDimensions

public int getDimensions()
get the dimensions of this object
Overrides:
getDimensions in class NslData
Returns:
always zero

getSize

public int getSize()
get the size of this array
Returns:
always zero

getNslSize

public void getNslSize(NslInt0 size)
get the size of this array and put it into size
Parameters:
size -  

getSizes

public int[] getSizes()
get the size of this array and put it into size
Overrides:
getSizes in class NslData
Returns:
size - always a vector of 4 elements

getSize1

public int getSize1()
get the size of this array at the rightmost dimension
Overrides:
getSize1 in class NslData
Returns:
always zero

getSize2

public int getSize2()
get the size of this array at the second to right dimension
Overrides:
getSize2 in class NslData
Returns:
always zero

getSize3

public int getSize3()
get the size of this array at the third to right dimension
Overrides:
getSize3 in class NslData
Returns:
always zero

getSize4

public int getSize4()
get the size of this array at the fourth to right dimension
Overrides:
getSize4 in class NslData
Returns:
always zero