hades.models.pic
Class BitSignalElement

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

class BitSignalElement
extends SignalElement
implements Advanceable

BitSignalElement is the SignalElement-class for booleans


Constructor Summary
BitSignalElement(int newHistoryCapacity, PicBitReg newBit, 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

BitSignalElement

public BitSignalElement(int newHistoryCapacity,
                        PicBitReg newBit,
                        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...