hades.models.pic
Class WordSignalElement

java.lang.Object
  extended byhades.models.pic.SignalElement
      extended byhades.models.pic.WordSignalElement
All Implemented Interfaces:
Advanceable

class WordSignalElement
extends SignalElement
implements Advanceable

WordSignalElement is the SignalElement-class for integers


Constructor Summary
WordSignalElement(int newHistoryCapacity, PicReg newWord, java.lang.String name)
           
 
Method Summary
 void advance()
           
 void advance(int next)
          Store the next value of the signal
 void advanceBreak()
          Store a Break
 int getHistory(int position)
          Get the history beginning from now (0 as position)
 int getHistoryCapacity()
          Get the number of history values that can be stored
 int getHistorySize()
          Get the number of history values that are stored now
 java.lang.String getName()
          Every history has its name...
 boolean isSimpleSignal()
          Ask the history if the values all are simple (boolean) or not (int)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordSignalElement

public WordSignalElement(int newHistoryCapacity,
                         PicReg newWord,
                         java.lang.String name)
Method Detail

advance

public void advance()
Specified by:
advance in interface Advanceable

isSimpleSignal

public boolean isSimpleSignal()
Description copied from class: SignalElement
Ask the history if the values all are simple (boolean) or not (int)

Overrides:
isSimpleSignal in class SignalElement

advanceBreak

public void advanceBreak()

advance

public void advance(int next)
Store the next value of the signal


getHistory

public int getHistory(int position)
Get the history beginning from now (0 as position)


getHistoryCapacity

public int getHistoryCapacity()
Get the number of history values that can be stored


getHistorySize

public int getHistorySize()
Get the number of history values that are stored now


getName

public java.lang.String getName()
Every history has its name...