Class ParameterValueWithId

java.lang.Object
org.yamcs.parameter.ParameterValueWithId

public class ParameterValueWithId extends Object
groups together a parameter value with a telemetry item id. The reason for this is that the consumers subscribe to telemetry items based on NamedObjectId (and they want to receive the same back) while all the computation inside is done based on ParameterDefinition. There can be many NamedObjectId pointing to the same ParameterDefinition
  • Constructor Details

    • ParameterValueWithId

      public ParameterValueWithId(ParameterValue pv, org.yamcs.protobuf.Yamcs.NamedObjectId id)
  • Method Details

    • setId

      public void setId(org.yamcs.protobuf.Yamcs.NamedObjectId id)
    • getId

      public org.yamcs.protobuf.Yamcs.NamedObjectId getId()
    • setParameterValue

      public void setParameterValue(ParameterValue pv)
    • getParameterValue

      public ParameterValue getParameterValue()
    • toGbpParameterValue

      public org.yamcs.protobuf.Pvalue.ParameterValue toGbpParameterValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object