EASE.Sensing.Engine.CalcInterpret
Class ListSensorData

java.lang.Object
  |
  +--EASE.Sensing.Engine.CalcInterpret.Node
        |
        +--EASE.Sensing.Engine.CalcInterpret.SensorValue
              |
              +--EASE.Sensing.Engine.CalcInterpret.FieldSensorValue
                    |
                    +--EASE.Sensing.Engine.CalcInterpret.ListSensorData

public class ListSensorData
extends FieldSensorValue

A List Input data type.

Not sure how the key stuff works . . Fill in. Work of getting the actual field done in FieldSensorValue


Field Summary
private  SensorAccess sensors
           
 
Fields inherited from class EASE.Sensing.Engine.CalcInterpret.FieldSensorValue
field, hasGetMethod
 
Fields inherited from class EASE.Sensing.Engine.CalcInterpret.SensorValue
debugger, name, params, sensors
 
Fields inherited from class EASE.Sensing.Engine.CalcInterpret.Node
children, debugger, name
 
Constructor Summary
ListSensorData(java.lang.String name, java.lang.String field)
           
 
Method Summary
 java.lang.Object execute(java.util.Hashtable params)
          This function is actually called to collect a single piece of data.
 java.lang.Object execute(java.util.Hashtable params, java.lang.StringBuffer sb)
           
 java.util.Vector getList()
          Special function only for this Node type which gives access to the entire list
 ListSensorData getListType()
          Override this function from Node.
 
Methods inherited from class EASE.Sensing.Engine.CalcInterpret.FieldSensorValue
getField
 
Methods inherited from class EASE.Sensing.Engine.CalcInterpret.SensorValue
getParameters, hasParameters, replicate, setInst, setParameters
 
Methods inherited from class EASE.Sensing.Engine.CalcInterpret.Node
getChildren, getName, setChildren, setName, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

sensors

private SensorAccess sensors
Constructor Detail

ListSensorData

public ListSensorData(java.lang.String name,
                      java.lang.String field)
Method Detail

execute

public java.lang.Object execute(java.util.Hashtable params)
This function is actually called to collect a single piece of data. The information for collecting the data will be in the params.

Overrides:
execute in class FieldSensorValue

execute

public java.lang.Object execute(java.util.Hashtable params,
                                java.lang.StringBuffer sb)
Overrides:
execute in class FieldSensorValue

getList

public java.util.Vector getList()
Special function only for this Node type which gives access to the entire list

getListType

public ListSensorData getListType()
Override this function from Node.

Overrides:
getListType in class Node