edu.cmu.emulator.vis
Class ChannelViewer

java.lang.Object
  extended by edu.cmu.emulator.vis.ChannelViewer
All Implemented Interfaces:
Runnable

public class ChannelViewer
extends Object
implements Runnable


Field Summary
protected  HashMap channelViews
           
protected  ArrayList cvList
           
private  long DEF_REDRAW_INTERVAL
           
protected  EmuWorld emuWorld
           
protected  long redrawInterval
           
protected  boolean running
           
protected  SignalEnvironment sigEnv
           
 
Constructor Summary
ChannelViewer(Emulator emulator)
           
 
Method Summary
private  ChannelView getChannelView(String src, int srcAntennaNum, String dest, int destAntennaNum)
           
private  String getCVKey(String src, int srcAntenna, String dest, int destAntenna)
           
 void run()
           
 void showChannel(String srcNode, String destNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sigEnv

protected SignalEnvironment sigEnv

emuWorld

protected EmuWorld emuWorld

channelViews

protected HashMap channelViews

cvList

protected ArrayList cvList

running

protected boolean running

redrawInterval

protected long redrawInterval

DEF_REDRAW_INTERVAL

private long DEF_REDRAW_INTERVAL
Constructor Detail

ChannelViewer

public ChannelViewer(Emulator emulator)
Method Detail

showChannel

public void showChannel(String srcNode,
                        String destNode)

getChannelView

private ChannelView getChannelView(String src,
                                   int srcAntennaNum,
                                   String dest,
                                   int destAntennaNum)

getCVKey

private String getCVKey(String src,
                        int srcAntenna,
                        String dest,
                        int destAntenna)

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2013. All Rights Reserved.