|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface specification for the interface between a simulator and the sensing subsystem.
Method Summary | |
java.lang.Object |
getData(java.lang.String name)
This function should take the name of a piece of data and return an object encapsulating the sensed data. |
java.lang.Object |
getData(java.lang.String name,
java.lang.Object key)
This function takes the name of an object and some object representing a key. |
java.lang.Object |
getFunction(java.lang.String name,
java.lang.Object[] params)
This function takes the name of a function and a Vector of parameters that should be used as parameters to that function. |
void |
sense()
This function can be called by the main part of the system to indicate that active sensing should be done now. |
Method Detail |
public java.lang.Object getData(java.lang.String name)
name
- The name is a String which identifies the required data. public java.lang.Object getData(java.lang.String name, java.lang.Object key)
public java.lang.Object getFunction(java.lang.String name, java.lang.Object[] params)
The parameters will be in the same order that they were given in the environment specification.
public void sense()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |