|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.elckerlyc.TimePeg
hmi.elckerlyc.OffsetPeg
@ThreadSafe public final class OffsetPeg
OffsetPegs define TimePegs that remains at a fixed time offset from a 'regular' TimePeg. An OffsetPeg can refer to another OffsetPeg as it's 'link'.
| Field Summary | |
|---|---|
private TimePeg |
link
|
private double |
offset
|
| Fields inherited from class hmi.elckerlyc.TimePeg |
|---|
bmlBlockPeg, VALUE_UNKNOWN |
| Constructor Summary | |
|---|---|
OffsetPeg(double o,
BMLBlockPeg bmp)
|
|
OffsetPeg(TimePeg l,
double o)
|
|
OffsetPeg(TimePeg l,
double o,
BMLBlockPeg bmp)
|
|
| Method Summary | |
|---|---|
double |
getGlobalValue()
get the value of the SynchronisationPoint |
TimePeg |
getLink()
Get the 'underlying' TimePeg. |
(package private) double |
getLocalValue()
get the value of the SynchronisationPoint |
void |
setGlobalValue(double v)
Set the value of the SynchronisationPoint. |
void |
setLink(TimePeg p)
|
void |
setLocalValue(double v)
Set the value of the SynchronisationPoint. |
void |
setOffset(double o)
|
String |
toString()
|
| Methods inherited from class hmi.elckerlyc.TimePeg |
|---|
isAbsoluteTime, setAbsoluteTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private TimePeg link
private double offset
| Constructor Detail |
|---|
public OffsetPeg(double o,
BMLBlockPeg bmp)
public OffsetPeg(TimePeg l,
double o)
public OffsetPeg(TimePeg l,
double o,
BMLBlockPeg bmp)
| Method Detail |
|---|
public void setOffset(double o)
public void setLink(TimePeg p)
public TimePeg getLink()
TimePeg
getLink in class TimePegdouble getLocalValue()
getLocalValue in class TimePegpublic double getGlobalValue()
getGlobalValue in class TimePegpublic void setLocalValue(double v)
TimePeg
setLocalValue in class TimePegpublic void setGlobalValue(double v)
TimePeg
setGlobalValue in class TimePegpublic String toString()
toString in class TimePeg
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||