Package org.yamcs.parameter
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 Summary
Constructors Constructor Description ParameterValueWithId(ParameterValue pv, org.yamcs.protobuf.Yamcs.NamedObjectId id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.yamcs.protobuf.Yamcs.NamedObjectId
getId()
ParameterValue
getParameterValue()
void
setId(org.yamcs.protobuf.Yamcs.NamedObjectId id)
void
setParameterValue(ParameterValue pv)
org.yamcs.protobuf.Pvalue.ParameterValue
toGbpParameterValue()
String
toString()
-
-
-
Constructor Detail
-
ParameterValueWithId
public ParameterValueWithId(ParameterValue pv, org.yamcs.protobuf.Yamcs.NamedObjectId id)
-
-
Method Detail
-
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()
-
-