|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.sim.platform.sensors.ReplaySensorData
The ReplaySensorData
class implements a sensor data source that replays
the sensor data from a file.
Constructor Summary | |
ReplaySensorData(Microcontroller m,
java.lang.String fn)
|
Method Summary | |
int |
reading()
The reading() method is called by the simulation when a new
reading of the sensor is requested or needed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReplaySensorData(Microcontroller m, java.lang.String fn) throws java.io.IOException
Method Detail |
public int reading()
SensorData
reading()
method is called by the simulation when a new
reading of the sensor is requested or needed.
reading
in interface SensorData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |