de.cau.cs.kieler.krep.evalbench.program.kep
Class KepSignal

java.lang.Object
  extended by de.cau.cs.kieler.krep.evalbench.program.kep.Identifer
      extended by de.cau.cs.kieler.krep.evalbench.program.kep.KepSignal

public class KepSignal
extends Identifer

Rating red

Constructor Summary
KepSignal(String name, Constants.SignalType type, Integer id)
           
KepSignal(String name, Constants.SignalType type, Integer id, boolean isPre)
           
KepSignal(String name, Constants.SignalType type, Integer id, int value)
           
KepSignal(String name, Constants.SignalType type, Integer id, Register reg)
           
 
Method Summary
 String encode()
           
 Constants.SignalDataType getDataType()
           
 Register getReg()
           
 Constants.SignalType getType()
           
 Data getValue()
           
 String info()
           
 int length()
           
 String print()
           
 String printlst()
           
 void setReg(Register reg)
           
 void setType(Constants.SignalType type)
           
 void setValue(Data value)
           
 String toString()
           
 
Methods inherited from class de.cau.cs.kieler.krep.evalbench.program.kep.Identifer
encode, getId, getName, getValidName, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KepSignal

public KepSignal(String name,
                 Constants.SignalType type,
                 Integer id)

KepSignal

public KepSignal(String name,
                 Constants.SignalType type,
                 Integer id,
                 boolean isPre)

KepSignal

public KepSignal(String name,
                 Constants.SignalType type,
                 Integer id,
                 int value)
          throws IllegalArgumentException
Throws:
IllegalArgumentException

KepSignal

public KepSignal(String name,
                 Constants.SignalType type,
                 Integer id,
                 Register reg)
Method Detail

toString

public String toString()
Overrides:
toString in class Identifer

printlst

public String printlst()

print

public String print()
Overrides:
print in class Identifer

setType

public void setType(Constants.SignalType type)

getType

public Constants.SignalType getType()

getDataType

public Constants.SignalDataType getDataType()

setReg

public void setReg(Register reg)

setValue

public void setValue(Data value)

encode

public String encode()
Specified by:
encode in class Identifer

info

public String info()
Specified by:
info in class Identifer

length

public int length()
Specified by:
length in class Identifer

getReg

public Register getReg()

getValue

public Data getValue()