|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.models.pic.SignalElement
SignalElement is able to store a signals history
Constructor Summary | |
SignalElement(int newHistoryCapacity,
java.lang.String newName)
|
Method Summary | |
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 |
public SignalElement(int newHistoryCapacity, java.lang.String newName)
Method Detail |
public void advance(int next)
public void advanceBreak()
public int getHistory(int position)
public int getHistoryCapacity()
public int getHistorySize()
public java.lang.String getName()
public boolean isSimpleSignal()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |