edu.cmu.emulator.demoVis
Class DemoWorldVisImpl
java.lang.Object
edu.cmu.emulator.demoVis.DemoWorldVisImpl
- All Implemented Interfaces:
- DemoWorldVis, Runnable, Remote
public class DemoWorldVisImpl
- extends Object
- implements DemoWorldVis, Runnable
Method Summary |
void |
destinationReached(String name,
double[] pos)
|
void |
loadMap(String mapName,
double pixelsPerMeterX,
double pixelsPerMeterY,
double originPixelX,
double originPixelY)
|
static void |
main(String[] args)
|
void |
moveNode(String nodeName,
double[] pos)
|
void |
newObjectPosition(String name,
double[] pos)
|
void |
nodeMoved(String nodeName,
double[] pos)
|
void |
objectAdded(String nodeName,
double[] pos,
String color)
|
void |
objectMoved(String nodeName,
double[] pos)
|
void |
objectSetPosition(String nodeName,
double[] pos)
|
void |
objectSetStationary(String nodeName,
double[] pos)
|
void |
resumeNode(String nodeName)
|
void |
run()
|
void |
start()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
demoServer
edu.cmu.emulator.apps.demo.DemoServer demoServer
worldViewer
WorldViewer worldViewer
error
ErrorPanel error
millisUntilTimeout
long millisUntilTimeout
timedOut
boolean timedOut
DEFAULT_TIMEOUT
private static final long DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
DemoWorldVisImpl
public DemoWorldVisImpl(String rmiName)
throws RemoteException
- Throws:
RemoteException
run
public void run()
- Specified by:
run
in interface Runnable
moveNode
public void moveNode(String nodeName,
double[] pos)
resumeNode
public void resumeNode(String nodeName)
start
public void start()
throws RemoteException
- Specified by:
start
in interface DemoWorldVis
- Throws:
RemoteException
loadMap
public void loadMap(String mapName,
double pixelsPerMeterX,
double pixelsPerMeterY,
double originPixelX,
double originPixelY)
throws RemoteException
- Specified by:
loadMap
in interface DemoWorldVis
- Throws:
RemoteException
destinationReached
public void destinationReached(String name,
double[] pos)
throws RemoteException
- Specified by:
destinationReached
in interface DemoWorldVis
- Throws:
RemoteException
newObjectPosition
public void newObjectPosition(String name,
double[] pos)
throws RemoteException
- Specified by:
newObjectPosition
in interface DemoWorldVis
- Throws:
RemoteException
nodeMoved
public void nodeMoved(String nodeName,
double[] pos)
throws RemoteException
- Specified by:
nodeMoved
in interface DemoWorldVis
- Throws:
RemoteException
objectAdded
public void objectAdded(String nodeName,
double[] pos,
String color)
throws RemoteException
- Specified by:
objectAdded
in interface DemoWorldVis
- Throws:
RemoteException
objectSetPosition
public void objectSetPosition(String nodeName,
double[] pos)
throws RemoteException
- Specified by:
objectSetPosition
in interface DemoWorldVis
- Throws:
RemoteException
objectSetStationary
public void objectSetStationary(String nodeName,
double[] pos)
throws RemoteException
- Specified by:
objectSetStationary
in interface DemoWorldVis
- Throws:
RemoteException
objectMoved
public void objectMoved(String nodeName,
double[] pos)
throws RemoteException
- Specified by:
objectMoved
in interface DemoWorldVis
- Throws:
RemoteException
main
public static void main(String[] args)
Copyright © 2013. All Rights Reserved.