Class DynamicIntegerValue

java.lang.Object
org.yamcs.xtce.IntegerValue
org.yamcs.xtce.DynamicIntegerValue
All Implemented Interfaces:
Serializable

public class DynamicIntegerValue extends IntegerValue
Uses a parameter instance to obtain the value.

Note that this explicitly supports only integer values (whereas XTCE supports also doubles)

See Also:
  • Constructor Details

  • Method Details

    • getParameterInstanceRef

      public ParameterInstanceRef getParameterInstanceRef()
    • getDynamicInstanceRef

      public ParameterOrArgumentRef getDynamicInstanceRef()
    • getIntercept

      public long getIntercept()
    • setIntercept

      public void setIntercept(long intercept)
    • getSlope

      public long getSlope()
    • setSlope

      public void setSlope(long slope)
    • transform

      public long transform(long v)
      Transform the value with the intercept and slope.
      Throws:
      ArithmeticException - if the result overflows a long
    • reverse

      public long reverse(long v)
      Reverse operation for transform(long)
      Throws:
      ArithmeticException - if the result overflows a long
    • toString

      public String toString()
      Overrides:
      toString in class Object