uwcse.location.objects.versus
Class VersusDriver
java.lang.Object
|
+--com.intel.research.rain.Service
|
+--uwcse.location.LocationService
|
+--uwcse.location.FusionClientService
|
+--uwcse.location.objects.SensorDriver
|
+--uwcse.location.objects.versus.VersusDriver
- All Implemented Interfaces:
- MessageHandler
- public class VersusDriver
- extends SensorDriver
A VersusDriver interacts with the infrared badge hardware from Versus
Technologies and generates ProxmityMeasurements.
- Version:
- $Revision: 1.2 $
- Author:
- Jeffrey Hightower
- See Also:
ProximityMeasurement
|
Nested Class Summary |
protected class |
VersusDriver.LineReaderThread
A utility helper Thread used to read line-at-a-time data from any
InputStream. |
| Methods inherited from class uwcse.location.LocationService |
addObject, callLocationRpc, correctedTimeMillis, getObject, getSysclockError, handleTerminalCommand, multicastLocationMsg, multicastLocationMsgs, processLocationMsg, processLocationRpc, runTerminalCommandLoop, sendLocationMsg, sendLocationMsgs, setDescription |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_readerThread
protected VersusDriver.LineReaderThread m_readerThread
VersusDriver
public VersusDriver(InputStream iStream)
throws RainException,
LocationException
- Throws:
RainException
LocationException
withdraw
protected void withdraw()
- Overridden to shutdown the input reader thread.
- Overrides:
withdraw in class SensorDriver
handleInputLine
protected void handleInputLine(String input)
- Parse a string received from a Versus Badge Server. ProximityMeasurment
objects are created and forwarded automatically.
handleVersusPacket
protected void handleVersusPacket(VersusPacket packet)
printUsageAndExit
protected static void printUsageAndExit()
- Show the program argument usage and then exit.
main
public static void main(String[] argv)
- Run the VersusDriver.
This documentation is for the Location Stack v0.8. The latest distribution, the documentation, and the list of contributors to the Location Stack can always be found at http://portolano.cs.washington.edu/projects/location/
© Copyright 2004 University of Washington CSE