edu.cmu.emulator.creator.config
Class DSPConfigDef

java.lang.Object
  extended by edu.cmu.emulator.creator.config.ConfigNode
      extended by edu.cmu.emulator.creator.config.DSPConfigDef

public class DSPConfigDef
extends ConfigNode


Field Summary
private  List<Channel> channels
           
private  Channel defChannel
           
private  InetAddress ip
           
private  int maxMFBits
           
private  int maxShift
           
private  String type
           
 
Constructor Summary
DSPConfigDef(String type, int maxMFBits, int maxShift, InetAddress ip, Channel defChannel, List<Channel> channels)
           
 
Method Summary
static DSPConfigDef fromXML(Element el)
           
 List<Channel> getChannels()
           
 Channel getDefChannel()
           
 InetAddress getIp()
           
 int getMaxMFBits()
           
 int getMaxShift()
           
 void setDefChannel(Channel defChannel)
           
 void setIp(InetAddress ip)
           
 void setMaxMFBits(int maxMFBits)
           
 void setMaxShift(int maxShift)
           
protected  Element toXML(Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private String type

maxMFBits

private int maxMFBits

maxShift

private int maxShift

ip

private InetAddress ip

defChannel

private Channel defChannel

channels

private List<Channel> channels
Constructor Detail

DSPConfigDef

public DSPConfigDef(String type,
                    int maxMFBits,
                    int maxShift,
                    InetAddress ip,
                    Channel defChannel,
                    List<Channel> channels)
Method Detail

getMaxMFBits

public int getMaxMFBits()

getMaxShift

public int getMaxShift()

getIp

public InetAddress getIp()

getDefChannel

public Channel getDefChannel()

getChannels

public List<Channel> getChannels()

setMaxMFBits

public void setMaxMFBits(int maxMFBits)

setMaxShift

public void setMaxShift(int maxShift)

setIp

public void setIp(InetAddress ip)

setDefChannel

public void setDefChannel(Channel defChannel)

fromXML

public static DSPConfigDef fromXML(Element el)
                            throws ConfigException
Throws:
ConfigException

toXML

protected Element toXML(Document doc)


Copyright © 2013. All Rights Reserved.